WakeSpams

10 - Delete spell causes LUA error

What steps will reproduce the problem?
1. Add a spell to the list of monitored Spell (ie 51886 for Purge)
2. Go to "Edit Spells" and attempt to delete the spell

What is the expected output? What do you see instead?
I expected the spell to be deleted
Instead I get a LUA error which is attached to the error log

What version of the product are you using?
2.1.63-beta

Do you have an error log of what happened?
Message: Interface\AddOns\WakeSpams\WakeSpams.lua:747 attempt to index field '?' (a nil value)
Time: 02/16/11 20:03:46
Count: 1
Stack: Interface\AddOns\WakeSpams\WakeSpams.lua:747 in function `ResetSpell'
Interface\AddOns\WakeSpamsOptions\config.lua:630 in function <Interface\AddOns\WakeSpamsOptions\config.lua:627
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9: in function <[string "safecall Dispatcher[3]"]:5>
(tail call): ?
...ceConfig\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:798 in function <...ceConfig\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:613
(tail call): ?
[C]: ?
[string "safecall Dispatcher[4]"]:9: in function <[string "safecall Dispatcher[4]"]:5>
(tail call): ?
...ns\ArkInventory\Externals\Ace3-AceGUI\AceGUI-3.0.lua:314 in function `Fire'
...xternals\Ace3-AceGUI\widgets\AceGUIWidget-Button.lua:22 in function <...xternals\Ace3-AceGUI\widgets\AceGUIWidget-Button.lua:19

Locals: <none>

User When Change
Cyrila Apr 25, 2011 at 22:00 UTC Changed status from Accepted to Fixed
Cyrila Feb 16, 2011 at 23:39 UTC Changed status from New to Accepted
Cronium Feb 16, 2011 at 09:06 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of Cyrila Cyrila Apr 25, 2011 at 22:00 UTC - 0 likes

    fixed r64

  • Avatar of Cyrila Cyrila Feb 16, 2011 at 23:38 UTC - 0 likes

    Eh... That's probably one of the stupidest mistake i've ever seen... I'm not able to make a hotfix build right now, but it can be fixed by changing the following:

    @ line 747:

    	self.db.profile.SpellDB[spellid].secout = 0
    	if(self.db.profile.SpellDB[spellid]) then self.db.profile.SpellDB[spellid].OutputFlags = {} end
    


    To:

    	if(self.db.profile.SpellDB[spellid]) then 
    		self.db.profile.SpellDB[spellid].secout = 0
    		self.db.profile.SpellDB[spellid].OutputFlags = {}
    	end
    
  • 2 comments

Facts

Last updated
Apr 25, 2011
Reported
Feb 16, 2011
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees