View Bug Report
Lua error on 5-man dungeon
Bug #: 8791
File: Broker_RaidMakeup
Date: 05-24-18 07:15 AM
By: aallkkaa
Status: Fixed
On Timewalking WotLK Dungeon "Pit of Saron", AmberAlert reported this:

Message: ...rface\AddOns\Broker_RaidMakeup\Broker_RaidMakeup.lua:239: attempt to concatenate local 'Role' (a nil value)
Time: 05/24/18 14:06:04
Count: 1
Stack: ...rface\AddOns\Broker_RaidMakeup\Broker_RaidMakeup.lua:239: attempt to concatenate local 'Role' (a nil value)
[C]: ?
...rface\AddOns\Broker_RaidMakeup\Broker_RaidMakeup.lua:239: in function `UpdateComposition'
...rface\AddOns\Broker_RaidMakeup\Broker_RaidMakeup.lua:291: in function `?'
...rface\AddOns\Broker_RaidMakeup\Broker_RaidMakeup.lua:331: in function <...rface\AddOns\Broker_RaidMakeup\Broker_RaidMakeup.lua:330>

Locals:

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: KyrosKrane - 05-24-18 09:33 AM
Thanks for the report! I've got a fix for this, and it will be in the next version.
By: KyrosKrane - 05-24-18 12:35 PM
This error should be fixed in v0.6-beta. It basically happens because the addon is trying to count the players in your group before the game has zoned you in. I've added in some checks for that. If you get it again, please let me know.

Also, if you happen to get an incorrect count of players, you can just click the display and it should fix itself.
By: aallkkaa - 05-24-18 10:33 PM
Thank you! Did a couple more dungeons with no Lua errors whatsoever.

However, I couldn't test anything else, as my only DataBroker display is Barrel (which simply automatically adds Broker plugins with no Minimap icon ... to the Minimap - I also use MinimapButtonBag to unclutter the Minimap). I'll open a Feature request about this.

But, again, regarding this bug report, it does seem fixed. Thanks!