Progress Bar Object throws error upon choosing a status.power trigger on player with a "<" or "<=" filter
LordKaterchen opened this issue ยท 0 comments
Describe the bug
Upon Updating from 2.17.x to 2.18 most of my more complex rage/focus bars broke. They already produce an error, when trying to show them on screen while configuring. I was assuming that maybe there was a breaking update, but even when recreating them from a fresh progress bar object I can trigger the same error. It happens as soon as I try to apply a Player-Status-Power trigger which contains a filter for either power or power%, but only when using the "<" or "<=" comparator, not when using ">", which is really weird.
Do you have an error log of what happened?
Message: Interface\AddOns\WeakAuras\RegionTypes\AuraBar.lua:318: attempt to perform arithmetic on field 'additionalBarsMax' (a nil value)
Time: Tue Aug 4 09:52:21 2020
Count: 1
Stack: Interface\AddOns\WeakAuras\RegionTypes\AuraBar.lua:318: attempt to perform arithmetic on field 'additionalBarsMax' (a nil value)
[string "@Interface\AddOns\WeakAuras\RegionTypes\AuraBar.lua"]:318: in function `UpdateAdditionalBars'
[string "@Interface\AddOns\WeakAuras\RegionTypes\AuraBar.lua"]:460: in function `SetAdditionalBars'
[string "@Interface\AddOns\WeakAuras\RegionTypes\AuraBar.lua"]:1228: in function `Update'
[string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:6316: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:6315>
[string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:6401: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:6368>
[string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:6485: in function `UpdatedTriggerState'
[string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:6255: in function `UpdateFakeStatesFor'
[string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:6228: in function `FakeStatesFor'
[string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:4731: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:4619>
[string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:4751: in function `Add'
[string "@Interface\AddOns\WeakAurasOptions\LoadOptions.lua"]:277: in function <Interface\AddOns\WeakAurasOptions\LoadOptions.lua:275>
[string "=[C]"]: ?
[string "@Interface\AddOns\ArkInventory\Externals\Ace3\AceConfig\AceConfigDialog-3.0\AceConfigDialog-3.0.lua"]:51: in function <...ceConfig\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:49>
[string "@Interface\AddOns\ArkInventory\Externals\Ace3\AceConfig\AceConfigDialog-3.0\AceConfigDialog-3.0.lua"]:843: in function <...ceConfig\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:664>
[string "=[C]"]: ?
[string "@Interface\AddOns\ArkInventory\Externals\Ace3\AceGUI\AceGUI-3.0.lua"]:72: in function <...ns\ArkInventory\Externals\Ace3\AceGUI\AceGUI-3.0.lua:70>
[string "@Interface\AddOns\ArkInventory\Externals\Ace3\AceGUI\AceGUI-3.0.lua"]:306: in function `Fire'
[string "@Interface\AddOns\ArkInventory\Externals\Ace3\AceGUI\widgets\AceGUIWidget-DropDown.lua"]:442: in function <...ernals\Ace3\AceGUI\widgets\AceGUIWidget-DropDown.lua:433>
[string "=[C]"]: ?
[string "@Interface\AddOns\ArkInventory\Externals\Ace3\AceGUI\AceGUI-3.0.lua"]:72: in function <...ns\ArkInventory\Externals\Ace3\AceGUI\AceGUI-3.0.lua:70>
[string "@Interface\AddOns\ArkInventory\Externals\Ace3\AceGUI\AceGUI-3.0.lua"]:306: in function `Fire'
[string "@Interface\AddOns\ArkInventory\Externals\Ace3\AceGUI\widgets\AceGUIWidget-DropDown-Items.lua"]:351: in function <...\Ace3\AceGUI\widgets\AceGUIWidget-DropDown-Items.lua:341>
Locals: <none>
To Reproduce
Steps to reproduce the behavior:
- Create a progress bar on hunter/warrior
- set the only trigger to power and try to filter for power or power% being "<" or "<=" than any chosen value (for me it was 70
Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
I have multiple other addons, but none interacting with weakauras to my knowledge. It worked before the update and explicitly broke on update.
Which version of WeakAuras are you using?
2.18
Are you on World of Warcraft Classic or Retail?
- [] Classic
- Retail
Was it working in a previous version? If yes, which was the last good one?
Yes 2.17.x ... dont remember what the x was, but it was the current version like a week ago
Additional Info
Here is the export string for the broken bar:
!WA:2!1rvZUTXnqyVqWObcffjYPgnabOUgifnhIH)PXjonPPALLQuQJK6QnXofbqI7skTSzf5wsUYw(w0jFON0JGoNt6rWOpaec9jWx6D)e0HCvLtcsjG0od5hhoZ38JtLc9lGlGpBJjYeK4nhsXQOV8CRCJUDLe1roIHzs)5NpfXcJ4IMCktfuQCD)YEZSq94kKIYzoj34d0FohtCl(c)gU0qolAKsq71JiKFX3kMlE2kxKkjTrbsUiWaVZ5gDze)4sCPQZiJwkJQ6moHFmrOgMqwEMzZfQDMGjbPD76dYIQLpOzLxCGR5Gaj4fPsplY1FWMxyfAZbyifxS(JFsYnnwsq(JuQG00CQXiDUqMgqgqyQMcsx6jETAw(GdgHtf2GQWwEmuFIm)izcjoUgwM314HbjXOHeHiLzVRlkvXxyPwGdspzA7sfB53ULFrp)XlcIoEwiEwhyCkBo1Kp5gOqfDaXpt3WoVBPjgMSDipMlEwoyDjKlicgk(LaVcExPXssCxBksV8OaKOKfA1N(phAxvF6SSLtoG3Kabbrfj69t5VYzc42EKEG5KpAv9ktraiWuTHFNTAsbf5efKIqy(XhLDLCJT7z(B97KKC93dr27744K7ISDx4Exlzf7ogIQpqTH2Qp3IG6L2dagJGTB(2zzLEVk75Co3E(VNkv0Ud1lpryk4i(WMU1BuVSEfbebgmtSaVIUY8ZUCMk56ve0tx7xtryGbqR57)bb28x62lL9udOsAqmPZmR2XCb(qbkz0HZfMTWSMci36Cgzoj8ETmNxRE9YETZACs(MfmgCpbe)TtARO9HAcbjKAsL5sU1NatMGNbk(QNTf9uYTMtsZZjojF9)3tGhcvW0WOZUPEZC6Tw)om922uKEh910FV((6DFR(bo6hQxwVN(r6v0)G(Xw(t)e9pQF6Txsxu7Q)PiD5PzbLxTFUQVUKEF9ZUL(xC(eEoBUGldiNGicTxK6UUXCeExxOrkCvV(PXkAEVWyKuUQUvExjeugHlSfNUX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