[xwiki-contrib/application-releasenotes] 61a85e: RN-79: The release note template page displays raw...
Branch: refs/heads/RN-77 Home: https://github.com/xwiki-contrib/application-releasenotes Commit: 61a85e0eac86bc126a0881d8deaf2624e778b47a https://github.com/xwiki-contrib/application-releasenotes/commit/61a85e0eac8... Author: Vincent Massol <vincent@massol.net> Date: 2026-08-30 (Sun, 30 Aug 2026) Changed paths: M application-releasenotes-test/application-releasenotes-test-docker/src/test/it/org/xwiki/releasenotes/test/ui/ReleaseNotesIT.java M application-releasenotes-ui/src/main/resources/ReleaseNotes/Code/ReleaseNoteTemplate.xml Log Message: ----------- RN-79: The release note template page displays raw Velocity code as its title * Give the title of ReleaseNoteTemplate a fallback for the case where the page holds no release note xobject, so that the template page reads "Release Note Template" in the "Template Reference" picker of the administration, in its breadcrumb, in search results and in the document index, instead of the unresolved script it hands to the release notes created from it. This is the idiom Code/Change/ChangeSheet already uses. * Stop the functional test from flattening that title: the REST API returns the rendered title in the Page title field and stores whatever it is given as the raw title, so the get/save round-trip that turns required rights on for the template was replacing its title with the rendered one before a release note was created from it. The helper now clears the title so that the stored one is left alone. * Extend the functional test to check the title of the template page. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/application-releasenotes/settings/notificat...
participants (1)
-
XWiki Notifications