Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
13.9
-
None
-
Unknown
-
Description
When editing a section, only the content, the syntax and the comment and minor checkbox is saved. This concerns in particular the hidden property from the page information panel which is not saved. Further, this also affects object properties that could be displayed in a custom sheet and which are also not saved. Note that this doesn't concern the inplace editing as it doesn't display any properties.
Step to reproduce:
- Open a page that is currently not hidden and has at least one section
- Right-click on the section edit link and select open in new tab
- Check the "hidden" checkbox in the sidebar
- Click "Save and View"
Expected result:
The page is hidden as can be seen in the "Information" tab below the page.
Actual result:
The page is not hidden.
This is a bug in SaveAction where the edit form is applied to a separate `sectionDoc` copy of the document, of which only the content, comment and minor edit property are copied to the actual document afterwards. I think this should be the reverse, everything should be updated from the form and then the content should be set to the correct value. Note that preview uses a different logic and updates some more fields (but also doesn't execute the full update code). This code hasn't been changed since 2015 so this should at least affect all versions since then.