diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-07-23 00:10:17 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-07-23 00:10:17 +0200 |
commit | 25dcd0b77c4450b83cd8b8307397e58c34ebfcd1 (patch) | |
tree | 16be341a081bb71482d4bdc6a28c8732c9c270a3 /applications/luci-app-radicale2/po/pt | |
parent | 2771360108cb3e2011c7c9cb4921a9047ea70910 (diff) |
luci-base: uci.js: prevent sending empty uci set operations
Under certain circumstances, a staged uci option value might get unset
again before saving the config, leaving an empty section change set
behind, causing the save call to send an empty uci set request via rpc,
triggering an ubus code 4 (Resource not found) error.
In particular this prevented bridge VLANs from getting saved properly.
Fixes: #5876
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-radicale2/po/pt')
0 files changed, 0 insertions, 0 deletions