Additional rules field

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Micha_he
Normal user
Posts: 372
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

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 3851 times

TD-er
Core team member
Posts: 8770
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: No registered users and 3 guests