Invalid order function for sorting
SpareSimian opened this issue ยท 0 comments
v1.9.8
This happened while I had bags and bank open and walked away from the bank, allowing the bags to close with distance.
I sure don't see the issue from a brief inspection of the code. The passed comparison function looks legit. Based on the following link, I wonder if there's a case where CompareButtons can return the same value when swapping the inputs?
Subject: [lua-users] Re: bug in table.sort (lua 5.1.3)
Date: 2018-01-07 17:34:13
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\AdiBags\widgets\Section.lua line 365:
invalid order function for sorting
Debug:
[C]: ?
AdiBags\widgets\Section.lua:365: FullLayout()
AdiBags\widgets\ContainerFrame.lua:953: PrepareSections()
AdiBags\widgets\ContainerFrame.lua:1058:
AdiBags\widgets\ContainerFrame.lua:1041
...ibDataBroker\CallbackHandler\CallbackHandler-1.0.lua:155:
...ibDataBroker\CallbackHandler\CallbackHandler-1.0.lua:155
[string "safecall Dispatcher[2]"]:4:
[string "safecall Dispatcher[2]"]:4
[C]: ?
[string "safecall Dispatcher[2]"]:13: ?()
...ibDataBroker\CallbackHandler\CallbackHandler-1.0.lua:90: SendMessage()
AdiBags\core\Core.lua:445: ?()
...ibDataBroker\CallbackHandler\CallbackHandler-1.0.lua:145:
...ibDataBroker\CallbackHandler\CallbackHandler-1.0.lua:145
[string "safecall Dispatcher[1]"]:4:
[string "safecall Dispatcher[1]"]:4
[C]: ?
[string "safecall Dispatcher[1]"]:13: ?()
...ibDataBroker\CallbackHandler\CallbackHandler-1.0.lua:90:
...ibDataBroker\CallbackHandler\CallbackHandler-1.0.lua:85
(tail call): ?