[GH-ISSUE #1274] If parameter get empty (e.g. like "" insteed of "0") when saving it breaks future-wise! #1090

Closed
opened 2026-02-28 01:28:28 +03:00 by kerem · 2 comments
Owner

Originally created by @kbaggen on GitHub (Jul 29, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1274

Hi,
on ESP8266 and 2.0.3 ALPHA, is seems that if a parameter for instance Temp offset set at "0" breaks if one by accident save it as "", and then it is not possible to later save it again with either "0" or "1" nor "1000".

Hence, it seems either Wifimanger or Filesystem make a fuss if the paramater get completly empty and saved. Not sure how else to describe it and what eventually to do.

Only ways to correct is to erase everything and start over!

Anyone seen this? And I am pretty sure I had same issue in former builds of wifiM.

So question is if a fix in wifimanger to always set a empty field tilll "0" could be added?

(BTW....thanks for the amazing WifiManger)

Originally created by @kbaggen on GitHub (Jul 29, 2021). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1274 Hi, on ESP8266 and 2.0.3 ALPHA, is seems that if a parameter for instance Temp offset set at "0" breaks if one by accident save it as "", and then it is not possible to later save it again with either "0" or "1" nor "1000". Hence, it seems either Wifimanger or Filesystem make a fuss if the paramater get completly empty and saved. Not sure how else to describe it and what eventually to do. Only ways to correct is to erase everything and start over! Anyone seen this? And I am pretty sure I had same issue in former builds of wifiM. So question is if a fix in wifimanger to always set a empty field tilll "0" could be added? (BTW....thanks for the amazing WifiManger)
kerem closed this issue 2026-02-28 01:28:28 +03:00
Author
Owner

@kbaggen commented on GitHub (Jul 29, 2021):

I am not sure this is connected till empty "", but something else, so I close it agian! Sorry!

<!-- gh-comment-id:889073862 --> @kbaggen commented on GitHub (Jul 29, 2021): I am not sure this is connected till empty "", but something else, so I close it agian! Sorry!
Author
Owner

@tablatronix commented on GitHub (Jul 29, 2021):

Sounds like a char null termination issue

<!-- gh-comment-id:889508789 --> @tablatronix commented on GitHub (Jul 29, 2021): Sounds like a char null termination issue
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1090
No description provided.