Issue Details (XML | Word | Printable)

Key: BCNT-270
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: William (Kandoko)
Reporter: William (Kandoko)
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
BeanCounter

Upgrade code will error if the itemIDName array is empty on update _2_09()

Created: 10/Aug/09 11:03 PM   Updated: 10/Aug/09 11:06 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None


 Description  « Hide
http://forums.norganna.org/discussion/10950/beancounter-v-564389-error/#Comment_66141
Message: ..\AddOns\BeanCounter\BeanCounterUpdate.lua line 208:
attempt to index local 'item' (a nil value)
Debug:
[C]: ?
BeanCounter\BeanCounterUpdate.lua:208: _2_09()
BeanCounter\BeanCounterUpdate.lua:102: startPlayerUpgrade()

we need to check that we have a valid item before we try and match it



 All   Comments   Change History   Transitions   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
William (Kandoko) added a comment - 10/Aug/09 11:06 PM
r4391

Changes
if not item:match("c........;.-") then

to

if item and not item:match("c........;.-") then