Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.0
-
None
-
Unknown
-
N/A
-
N/A
-
Description
Problem
Since XWiki 10.4, the pages shipped by an extension are protected against edition and deletion: XWiki displays a warning and the user has to click "Force editing" before being allowed to change the page.
The Release Notes configuration page, ReleaseNotes.Code.ReleaseNotesConfig, is however a page that administrators are meant to edit: it holds the instance-level defaults (default product name and release note template reference) used when creating new release notes. Since it's packaged with the default XAR entry type, administrators get the "part of an extension" warning and must force edit it. This is confusing (it suggests that they're doing something wrong) and it currently has to be documented as a required step, see Configure the Release Notes Application.
Fix
Declare ReleaseNotes.Code.ReleaseNotesConfig with the configuration XAR entry type in the XAR plugin configuration of application-releasenotes-ui/pom.xml. With that type, edit is allowed (no warning and thus no force editing needed) and the document is never overwritten during an upgrade, which is exactly the wanted behavior for a configuration page.
See:
Attachments
Issue Links
- is related to
-
RN-73 Allow configuring the application from the Administration UI
-
- Closed
-