aura_env.states has a nil entry for an active cloned trigger if dynamic information comes from another trigger
calummitchell opened this issue ยท 1 comments
Is there an existing issue for this?
- I have searched the existing open and closed issues.
Description
I expect aura_env.states to have a non-nil entry for each active trigger. Instead if one of the active triggers uses the Clone per Event option it's aura_env.states entry is nil if dynamic information comes from another trigger.
WeakAuras Version
WeakAuras 5.17.1
World of Warcraft Flavor
Retail (Default)
World of Warcraft Region
EU
Tested with only WeakAuras
I got this issue with only WeakAuras enabled
Lua Error
No response
Reproduction Steps
The example I provided which reproduces the problem has:
Triggers
All triggers are required for activation
Dynamic information from trigger 1
1 Always active trigger
2 Combat Log cast start Hearthstone with [x] Clone per event
Conditions
1 Set text color to red if trigger 2 is active
Actions
On Show custom action adds aura_env to DevTool
While casting Hearthstone the text is shown in white but it should be red. Triggers 1 and 2 are both active but Condition 1 thinks trigger 2 is not. Looking at aura_env in DevTool also shows aura_env.states[2] is nil.
If you make any of the following changes this problem goes away:
Remove Clone per event option from Trigger 2
Get Dynamic information from Trigger 2
Get Dynamic information from first active trigger and swap the positions of triggers 1 and 2
Last Good Version
No response
Screenshots
No response
Export String
!WA:2!9zvZUTXTw4ijCXTvOlAfcsBtZcvxuJe0aJANuxeh0cijlHyhfBJrkXPagDeNHuImEgscsoYwzvHqw01ABl6cTVB0I(aKNacJ(e4f5bWpb9Wzgj3giBVW4qohE()77OcTQexbxb)R7i)smtlJqJ6so143xOIrgFJqezyY8J15cozkluW7isuHK7CJZqjgQqTV0WeCDz53SeBi9nSyIpEehfZc9nufrtfr4cQr73VVMyWF4mepemZbcg3e0O5EDB6jRE1Mk7uHnsurfR7cNEYvUATJfyFfYq6DXXeISMwscnEiiGPJprOWhQqYXhMlmft0itItD6yLW4uJxOEFb3mT5PsiY1NGgTuVT(AOyrcF(zBX6rceEO61qnBhSU4KenXNtgsu0adkIWn3YlobQULN5(sUA06U47w2pVSxyesRDs11SxtCcxya)LOiUi9zcmrEZgTR9Sd6UF921A80ABV9oD35fnpttryXjVmR4wAQImasI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