diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-05-31 15:39:43 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-06-03 20:02:44 +0200 |
commit | 2d352a9251f99628162ac6bccf13c0fd5d9a71f8 (patch) | |
tree | 26588a7018fc094818242b6c89fbd0279116e63b /applications/luci-app-dynapoint/luasrc/view/dynapoint | |
parent | 660e4f5504b91a7b5c51a6abb80d52c65b8528d2 (diff) |
luci-base: cbi: atomically reorder uci sections
Since the switch to ubus uci operations we do not have a local application-
side cursor cache anymore, instead uci operations happen synchronously in
the rpcd backend server.
This may cause cbi section reorder operations involving multiple elements
to fail, because anonymous section hashes may change due to rehashing
between consecutive ubus uci reorder calls.
In order to avoid that problem, use the ubus uci batch reorder extension,
which allows to pass a complete (or partial) list of section ids in the
desired order in one call, bypassing the volatile section id problem.
Fixes #1844.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-dynapoint/luasrc/view/dynapoint')
0 files changed, 0 insertions, 0 deletions