-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting Mem2 to value 0 in a rule does not work #9301
Comments
Please, can you share your |
The status 0 output is: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Fix rule expressions using mems corrupts character pool (#9301)
This was a serious error leading to character pool corruption Thx for reporting and sorry it took so long to solve. |
my pleasure - glad I could help. |
PROBLEM DESCRIPTION
When setting variable mem2 to value 0 in a rule and accessing it afterwards mem2 is infact not 0 but empty.
The same procedure is working fine with variable mem1.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:Status 0
:(Please use
weblog 4
for more debug information)TO REPRODUCE
set the rules as shown above.
you can then see that mem1=%mem1%+%value%
is calulated correcty as "mem1=0+11"
but mem2 calcuation mem2=%mem2%+%value%
is wrong; "mem2=+21"
Where the value 0 should be it is empty.
The same happens when using the rule syntax
then the output is
mem2 is caculated as "mem2=.000+21" - the digit before the . is missing
EXPECTED BEHAVIOUR
set mem2 correctly to 0
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: