Thread Tools Display Modes
Prev Previous Post   Next Post Next
06/16/16, 01:53 PM   #1
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,580
bug in mailinbox_keyboard

I got the following error when I opened the mailbox after deleting a mail at the same time that I got removed from a dungeon instance:
Code:
EsoUI/Ingame/Mail/Keyboard/MailInbox_Keyboard.lua:440: attempt to index a nil value
stack traceback:
	EsoUI/Ingame/Mail/Keyboard/MailInbox_Keyboard.lua:440: in function 'MailInbox:RefreshMailFrom'
	EsoUI/Ingame/Mail/Keyboard/MailInbox_Keyboard.lua:398: in function 'MailInbox:OnInboxUpdate'
	EsoUI/Ingame/Mail/Keyboard/MailInbox_Keyboard.lua:54: in function '(anonymous)'
GetMailData can return a nil value, but most instances where it is used do not protect against it. It's a minor bug that probably doesn't occur often, but it also doesn't require much to fix it.
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » bug in mailinbox_keyboard


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off