Branch: refs/heads/RN-104 Home: https://github.com/xwiki-contrib/application-releasenotes Commit: fe82231f47606811ed8a03602d272479a05daac3 https://github.com/xwiki-contrib/application-releasenotes/commit/fe82231f476... Author: Vincent Massol <[email protected]> Date: 2026-09-03 (Thu, 03 Sep 2026) Changed paths: M application-releasenotes-ui/src/main/resources/ReleaseNotes/Code/Change/ReleaseNotesChangesMacro.xml M application-releasenotes-ui/src/test/java/org/xwiki/releasenotes/ReleaseNotesChangesMacroPageTest.java Log Message: ----------- RN-104: Only handle the add-change action on editable, non-released release notes * Extend the condition guarding each of the useradd/adminadd/devadd handlers in the releasenotechanges macro with the $hasEdit and $released checks its "Add ... Change" button already carries, so that the action is handled only when the button is shown, rather than whenever the action and a valid form token are submitted. * Add two page tests submitting a useradd action to a release note: one asserting that a released note reserves nothing and does not redirect, and a companion asserting that an editor's action on a note that is not released still reserves the change it redirects to. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/application-releasenotes/settings/notificat...
participants (1)
-
XWiki Notifications