Nil check in spell cast trigger
1ps3 opened this issue ยท 0 comments
Description
Leaving remaining duration fields blank cases lua error
WeakAuras Version
4.0.3
World of Warcraft Flavor
Retail (Default)
Tested with only WeakAuras
- Yes
- No
Lua Error
Message: [string "Error in: BDUI Castbar"]:45: attempt to compare string with number
Time: Sat Aug 20 02:57:08 2022
Count: 15
Stack: [string "Error in: BDUI Castbar"]:45: attempt to compare string with number
[string "Error in: BDUI Castbar"]:45: in function <[string "Error in: BDUI Castbar"]:4>
[string "=[C]"]: in function xpcall' [string "@Interface\AddOns\WeakAuras\GenericTrigger.lua"]:590: in function <Interface\AddOns\WeakAuras\GenericTrigger.lua:537> [string "@Interface\AddOns\WeakAuras\GenericTrigger.lua"]:775: in function
CreateFakeStates'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:3833: in function UpdateFakeStatesFor' [string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:3809: in function
FakeStatesFor'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:2776: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:2652>
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:2798: in function Add' [string "@Interface\AddOns\WeakAurasOptions\LoadOptions.lua"]:270: in function <Interface\AddOns\WeakAurasOptions\LoadOptions.lua:268> [string "=[C]"]: ? [string "@Interface\AddOns\HandyNotes\Libs\AceConfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua"]:51: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:49> [string "@Interface\AddOns\HandyNotes\Libs\AceConfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua"]:836: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:657> [string "=[C]"]: ? [string "@Interface\AddOns\HandyNotes\Libs\AceGUI-3.0\AceGUI-3.0.lua"]:72: in function <...ace\AddOns\HandyNotes\Libs\AceGUI-3.0\AceGUI-3.0.lua:70> [string "@Interface\AddOns\HandyNotes\Libs\AceGUI-3.0\AceGUI-3.0.lua"]:306: in function
Fire'
[string "@interface\AddOns\HandyNotes\Libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua"]:68: in function <...es\Libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:57>
Locals:
Reproduction Steps
Go to cast trigger (trigger 1)
enable remaining time
leave time field blank and disable/enable remaining time.
Last Good Version
N/A
Screenshots
No response
Export String
!WA:2!Dv1tVTrru8UyPIWQsKysnGOcfk0OEPvLKMkesqLxN1yJCTdR30Kwk17S7o270UEMLzM1jPIl4t9S)i4ZCYh4dG)emYIpbrCIJ5taVz2nonDoy)E)E)zEZ7FRvJkJQevj6TpyMifXF9HKiz8nxyO7oyGalpYAjktgZ4DtLegvuMFAUG)O6CeneeSpJqLb1D6454U0yPltI0kBLU(v4FclcBx7aVUNhGcF9qolJgvNLW4)SLL1(LEW93DIKtgoeZfVClEb5B3yrMa3pejKENMIJtRWXJqekHoSplfZrsgVYpUCiMI5KWEXSJ7spty(RoJLeXoMANrjYG0e0Py(0vw)bZIWbzdgO9kVPt79BCqBBjWOw)mrwaEmMk7bYjNmVF9A9863ZRMR3kr7ZXGi3E770U9eDeQVeFxJm76q0UKJrj9sXjjDqJWwtU4fyRjwQTqCHq)jgYwrIYtxbAz0zv46NUUM)kVt)PAijhYM(UuWgW(mArIR8wQB83QQUghQUJV6JvRP(cF1xAP(kF1gQBQU15)uclaLS5fjk16QkQT8vFTL6ULNhreVkJgkjJXBJONMUoYq7L7EDX8VU2msiJ2p0uelbNZHEbmNIsEkueHs(RNIOKrMQ)JCfsex2ybgjW9KCmDOm(dvvTPmkEzug3OvFDfGlWGBJet0QQZzQDS1PHgQTbdu7OEOAx1Ju7emasnI43hEsaIN3x18XNn1CA(4)77nNMp(F3WCkbLFbsQVwC872X)mRzqn2fpu3U)8QQQlb2lBylagW44CG3EZ0ks8jY(IyeKepk3lLMAW0)C77qtx7D0yvlFPZYrXjdmdrQpk9tmiWehtN0cnZJ21a2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