Bagnon

Bagnon

122M Downloads

Sorting isn't working as expected.

Sparky3040 opened this issue ยท 1 comments

commented

Running Software (issues missing this information will be deleted):

  • Addon version: Most recent
  • Server patch: wow version 10.1.0.49474

Have you read the changelog? (please don't waste our time)
Mark if read.

Describe the bug
The sorting doesn't work.

To Reproduce
Steps to reproduce the behaviour:
It appears randomly.

Message: Interface/AddOns/BagBrother/core/api/owners.lua:75: invalid order function for sorting
Time: Sat May 13 22:19:55 2023
Count: 1
Stack: Interface/AddOns/BagBrother/core/api/owners.lua:75: invalid order function for sorting
[string "@Interface/AddOns/DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:114: in function <...ore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:114>
[string "=[C]"]: ?
[string "@Interface/AddOns/DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:24: in function <...ore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:20>
[string "@Interface/AddOns/DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:59: in function `Fire'
[string "@Interface/AddOns/DataStore/libs/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <.../AddOns/DataStore/libs/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals: self =

{
SendSignal = defined @Interface/AddOns/BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:82
RegisterMessage = defined @Interface/AddOns/DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:85
UnregisterMessage = defined @Interface/AddOns/DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:148
GetColor = defined @Interface/AddOns/BagBrother/core/api/owners.lua:157
registry =
{
}
ordered =
{
}
Sort = defined @Interface/AddOns/BagBrother/core/api/owners.lua:70
GetColorMarkup = defined @Interface/AddOns/BagBrother/core/api/owners.lua:149
GetMoney = defined @Interface/AddOns/BagBrother/core/api/owners.lua:161
SendMessage = defined @Interface/AddOns/DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:54
_index = defined @Interface/AddOns/BagBrother/core/api/owners.lua:49
New = defined @Interface/AddOns/BagBrother/core/api/owners.lua:96
UnregisterSignal = defined @Interface/AddOns/BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:78
OnRoster = defined @Interface/AddOns/BagBrother/core/api/owners.lua:62
GetIcon = defined @Interface/AddOns/BagBrother/core/api/owners.lua:136
GetIconMarkup = defined @Interface/AddOns/BagBrother/core/api/owners.lua:126
RegisterEvent = defined @Interface/AddOns/DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:85
UnregisterAllMessages = defined @Interface/AddOns/DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:169
SetProfile = defined @Interface/AddOns/BagBrother/core/api/owners.lua:121
Delete = defined @Interface/AddOns/BagBrother/core/api/owners.lua:114
Iterate = defined @Interface/AddOns/BagBrother/core/api/owners.lua:85
OnEnable = defined @Interface/AddOns/BagBrother/core/api/owners.lua:47
Count = defined @Interface/AddOns/BagBrother/core/api/owners.lua:89
RegisterSignal = defined @Interface/AddOns/BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:74
NewModule = defined @Interface/AddOns/BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:68
UnregisterAllEvents = defined @Interface/AddOns/DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:169
UnregisterEvent = defined @Interface/AddOns/DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:148
Tag = "BAGNON
"
}
method = "OnRoster"

Message: Interface/AddOns/BagBrother/core/api/owners.lua:75: invalid order function for sorting
Time: Sat May 13 22:49:42 2023
Count: 2
Stack: Interface/AddOns/BagBrother/core/api/owners.lua:75: invalid order function for sorting

Expected behaviour
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Error Logs
Type /console scriptErrors 1 in the chat and reload the game. If an error window appears, write here the message with ID: 1 (labelled 1/X). This is generally NOT the message that the window shows by default.

Additional context
Add any other context about the problem here.

commented

I'm seeing this appear randomly, even when bags are not open.

Date: 2023-05-20 18:26:13
ID: 2
Error occured in: Global
Count: 1
Message: Interface/AddOns/BagBrother/core/api/owners.lua line 75:
invalid order function for sorting
Debug:
[string "=(tail call)"]: ?
[string "=[C]"]: sort()
[string "@Interface/AddOns/BagBrother/core/api/owners.lua"]:75: Sort()
[string "@Interface/AddOns/BagBrother/core/api/owners.lua"]:66: ?()
[string "@Interface/AddOns/PetTracker/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:119:
...ker/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:119
[string "=[C]"]: ?
[string "@Interface/AddOns/PetTracker/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:29:
...ker/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25
[string "@Interface/AddOns/PetTracker/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:64: Fire()
[string "@Interface/AddOns/PetTracker/libs/AceEvent-3.0/AceEvent-3.0.lua"]:120:
...AddOns/PetTracker/libs/AceEvent-3.0/AceEvent-3.0.lua:119
Locals:
(*temporary) = defined =[C]:-1

AddOns:
KalielsTracker, v6.2.0
nLog, v<%version%> (<%codename%>)
Swatter, v9.1.BETA.5.12 (OneMawTime)
Auctioneer, v9.1.BETA.5.12 (OneMawTime)
AuctioneerStatsOverTime, v9.1.BETA.5.12 (OneMawTime)
AuctioneerUtilDealFinder, v9.1.BETA.5.12 (OneMawTime)
AuctioneerUtilValuer, v9.1.BETA.5.12 (OneMawTime)
Babylonian, v<%version%> (<%codename%>)
BagBrother, v
Bagnon, v10.1
BrokerCPU, v50001
CandyBuckets, v10.1.0.230503
Capping, vv10.1.0
DBMCore, v96c6839
DBMSoundEventsPack, v1.6.24
DBMStatusBarTimers, v96c6839
DBMVPVEM, vae90d32
DebugLib, v<%version%> (<%codename%>)
Decursive, v2.7.9.1
Details, v#Details.20230520.11023.151
DetailsCompare2, v
DetailsEncounterDetails, v
DetailsRaidCheck, v
DetailsStreamer, v
DetailsTinyThreat, v
DetailsVanguard, v
Enchantrix, v9.1.BETA.5.12 (OneMawTime)
HandyNotes, vv1.6.15
HandyNotesBattleForAzerothTreasures, vv30
HandyNotesDragonflight, v38
HandyNotesHigherDimensionalLearning, v1
HandyNotesLegionTreasures, vv33
HandyNotesMistsOfPandariaTreasures, vv25
HandyNotesTimelessIsleChests, v1.24d
HandyNotesTreasureHunter, vv33
HealBotData, v
HealBotOptions, v
Informant, v9.1.BETA.5.12 (OneMawTime)
LibDataBroker, v
LibExtraTip, v<%version%> (<%codename%>)
MasterPlanA, vA
MinimalArchaeology, v10.0.5.1
MissionData, v
OmniCC, v10.1.0
Outfitter, v10.1.0.0
Pawn, v2.8.1
PetTracker, v10.0.1
Postal, vv3.9.7
RareScanner, v10.1.0.8
ReloadUI, v1.1.2
SharedMedia, v3.1.1-199
SharedMediaAdditionalFonts, v10.0.5
SlideBar, v9.1.BETA.5.12 (OneMawTime)
Stubby, v9.1.BETA.5.12 (OneMawTime)
TipHelper, v<%version%> (<%codename%>)
TomTom, vv3.3.9-release
WIM, v3.10.11
ZerethMortisPuzzleHelper, v1.6.5
BlizRuntimeLib_enUS v10.1.0.100100
(ck=6ec)