Closed toras9000 closed 2 months ago
Thanks for raising @toras9000, I can confirm this. I've assigned to the next feature release rather than fix this in a sooner patch because we'll want to apply some database changes to address this fully which is something I'd rather leave to non-minor versions.
System currently won't set editor value if aligned with system default. Probably worth updating the change logic to actually update, even if without permissions but existing value is empty as a backup option:
But ultimately the value needs to be set on initial page creation/store.
Should also update the existing pages without editor values, for which I think we can follow the original logic we used for the field on column creation:
This has now been updated in 89f84c9a95babfa5bf8b3d38809375e59cab80ce to always set an editor type, and this will be part of the next feature release.
Describe the Bug
In the newly created page, the
editor
property is empty in the PAGES-LIST or PAGES-READ API response results. This seems to occur when a new page is saved with the configured default editor. When creating or editing a page, if you switch the editor type and then save the page, the type will be available in theeditor
property of the API response thereafter.Steps to Reproduce
editor
property of the API response data is empty.Expected Behaviour
The
editor
property of the API response gets the appropriate value.Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
v24.05.2