Description of problem:
The expert mode in luci preferences allows the admin to set up some extra parameters for various resources/services. When such options are set for NFS Server resource and either the expert mode is disabled or the admin clears his cookies, any subsequent submission of the resource/service form causes these extra attributes to be removed.
In expert mode, I've set the attributes like this:
<nfsserver name="myNFSserver" nfspath="/nfs/recovery/path" path="/my/path"/>
Then, I've disabled Expert mode in luci preferences and opened the resource config page again and hit the Apply button once again. The xml is reduced into this:
<nfsserver name="myNFSserver" path="/my/path"/>
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Enable expert mode
2. Create a 'NFS Server' resource, set 'nfspath' attribute to some value
3. Disable expert mode
4. Go back to the said resource configuration
5. Submit the form without doing any changes
'nfspath' attribute gets removed from configuration.
All extra attributes should be kept in the configuration unaltered, even if they're not shown because of expert mode being disabled.
Note that possible scope is much wider (not-necessarily-exhaustive list):
. prefer_interface (el6.5+)
. nfspath (as per bug description)
- service as such
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.