Branch: refs/heads/stable-18.4.x Home: https://github.com/xwiki/xwiki-platform Commit: c1905c0040a1aba9b5d6d931fca0b6cf9058b392 https://github.com/xwiki/xwiki-platform/commit/c1905c0040a1aba9b5d6d931fca0b... Author: Manuel Leduc <[email protected]> Date: 2026-09-03 (Thu, 03 Sep 2026) Changed paths: M xwiki-platform-core/xwiki-platform-image/xwiki-platform-image-style/xwiki-platform-image-style-ui/src/main/resources/Image/Style/Code/Administration.xml M xwiki-platform-core/xwiki-platform-image/xwiki-platform-image-style/xwiki-platform-image-style-ui/src/main/resources/Image/Style/Code/Translations.xml Log Message: ----------- XWIKI-24786: A failed identifier validation leaves the image style creation form unusable * Fall back to the entered name when the entity name validation request fails or returns an unexpected result, so that the creation button gets enabled instead of staying disabled forever with no way for the user to recover * Give that request a timeout, so that a validation page which never answers is handled the same way instead of blocking the form indefinitely * Tell the user, with the new newImageStyle.validationFailed translation, that the name could not be checked and will be used as entered, instead of reporting a normalization that did not happen * Skip the request altogether for an empty name, which has nothing to check * Report the validation error with console.error instead of console.log (cherry picked from commit 4916d7104c5a7e85e50857a86733221929fc7adc) Commit: 0ac1fde01009babeb98291d8c635513ce0024d54 https://github.com/xwiki/xwiki-platform/commit/0ac1fde01009babeb98291d8c6355... Author: Manuel Leduc <[email protected]> Date: 2026-09-03 (Thu, 03 Sep 2026) Changed paths: M xwiki-platform-core/xwiki-platform-image/xwiki-platform-image-style/xwiki-platform-image-style-ui/src/main/resources/Image/Style/Code/Administration.xml M xwiki-platform-core/xwiki-platform-image/xwiki-platform-image-style/xwiki-platform-image-style-ui/src/test/java/org/xwiki/image/style/AdministrationPageTest.java Log Message: ----------- XWIKI-24787: The normalized identifier is never displayed in the image style administration * Remove the trailing space in the id of the hint holding the normalized identifier, so that the selector used to fill it in matches it and the hint is actually displayed * Assert, in the page test of the administration, that the hint holding the normalized identifier can be found through the identifier the script uses to fill it in (cherry picked from commit 040a889bd62a4a55f0529f0044c64e2d54dbc51b) Commit: f0bf91b30cf36e7cf0601cf0db6447d8e3197719 https://github.com/xwiki/xwiki-platform/commit/f0bf91b30cf36e7cf0601cf0db644... Author: Manuel Leduc <[email protected]> Date: 2026-09-03 (Thu, 03 Sep 2026) Changed paths: M xwiki-platform-core/xwiki-platform-image/xwiki-platform-image-style/xwiki-platform-image-style-ui/src/main/resources/Image/Style/Code/Administration.xml M xwiki-platform-core/xwiki-platform-image/xwiki-platform-image-style/xwiki-platform-image-style-ui/src/test/java/org/xwiki/image/style/AdministrationPageTest.java Log Message: ----------- XWIKI-24788: The 'New Image Style' field hint repeats the field label * Use the newImageStyle.hint translation key, which describes the field, for the hint of the new image style identifier field, instead of the newImageStyle.label key already used for its label * Assert, in the page test of the administration, that the label and the hint of the identifier field render two different translation keys (cherry picked from commit 18dfce1b09383ee0f5141323d60b6fad71fe1bb5) Commit: 15740aa8d5753f596d14fa908f2ab8ac5fc44b1d https://github.com/xwiki/xwiki-platform/commit/15740aa8d5753f596d14fa908f2ab... Author: Manuel Leduc <[email protected]> Date: 2026-09-03 (Thu, 03 Sep 2026) Changed paths: M xwiki-platform-core/xwiki-platform-image/xwiki-platform-image-style/xwiki-platform-image-style-ui/src/main/resources/Image/Style/Code/Administration.xml M xwiki-platform-core/xwiki-platform-image/xwiki-platform-image-style/xwiki-platform-image-style-ui/src/main/resources/Image/Style/Code/Translations.xml Log Message: ----------- XWIKI-24789: The image style administration does not report an identifier that breaks the naming conventions * Report, with the new newImageStyle.invalidIdentifier translation, that the entered identifier does not follow the naming conventions and is being rewritten, instead of presenting the rewritten identifier as if nothing was wrong * Base that on the isOriginalValid and useValidation values already returned by the entity name validation page, which were both ignored (cherry picked from commit 471f7f46ab45acb6477351e5f67e57999ef1843b) Commit: 734edb9f63b5ba4b8343485d9428cdf274570620 https://github.com/xwiki/xwiki-platform/commit/734edb9f63b5ba4b8343485d9428c... Author: Manuel Leduc <[email protected]> Date: 2026-09-03 (Thu, 03 Sep 2026) Changed paths: M xwiki-platform-core/xwiki-platform-image/xwiki-platform-image-style/xwiki-platform-image-style-ui/src/main/resources/Image/Style/Code/Administration.xml M xwiki-platform-core/xwiki-platform-image/xwiki-platform-image-style/xwiki-platform-image-style-ui/src/main/resources/Image/Style/Code/Translations.xml Log Message: ----------- XWIKI-24790: An expired CSRF token is reported as a naming convention problem in the image style administration * Report, with the new newImageStyle.tokenExpired translation, that the page has to be reloaded when the entity name validation page answers 401 because the CSRF token is no longer valid, instead of blaming the naming conventions * Keep the creation button disabled in that case, since the creation itself would be rejected for the same reason (cherry picked from commit 7d1186a218d466ccf12f7c04bc15857736d0df25) Compare: https://github.com/xwiki/xwiki-platform/compare/63c20a383dea...734edb9f63b5 To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications