Additional rules field

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Micha_he
Normal user
Posts: 129
Joined: 07 Feb 2018, 19:14

Additional rules field

#1 Post by Micha_he » 16 Mar 2020, 18:41

What have I configured wrong, that this field is displayed in my self-build image ?

rules_field_err.jpg
rules_field_err.jpg (16.62 KiB) Viewed 522 times

TD-er
Core team member
Posts: 2312
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Additional rules field

#2 Post by TD-er » 16 Mar 2020, 19:52

It is a temporary field and was never meant to be visible.
The problem is that saving the rules may sometimes corrupt them.
So this field is populated by some JavaScript when you press save to send an extra parameter along with the size of the rules in the POST message.
This way we can detect if it got corrupted and stop saving the rules (better to keep the old one than be left with something completely unusable or even a 0 byte file)

With this fix, it should no longer be needed: https://github.com/letscontrolit/ESPEasy/pull/2921

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 14 guests