[xwiki/xwiki-platform] 7c29f3: XWIKI-23115: Page displayer in edit mode shows the...
Branch: refs/heads/stable-16.4.x Home: https://github.com/xwiki/xwiki-platform Commit: 7c29f342115e94777de8cc9c0435a5f49bf35889 https://github.com/xwiki/xwiki-platform/commit/7c29f342115e94777de8cc9c0435a... Author: Marius Dumitru Florea <[email protected]> Date: 2025-04-30 (Wed, 30 Apr 2025) Changed paths: M xwiki-platform-core/xwiki-platform-appwithinminutes/xwiki-platform-appwithinminutes-test/xwiki-platform-appwithinminutes-test-docker/src/test/it/org/xwiki/appwithinminutes/test/ui/UserClassFieldIT.java M xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/macros.vm M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/objects/classes/PropertyClass.java M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/objects/classes/PropertyClassTest.java M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/macros.vm M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/suggest/suggestPropertyValues.js Log Message: ----------- XWIKI-23115: Page displayer in edit mode shows the document's full name instead of its title (#4058) (#4096) * The provided fix is not enough for AWM's class editor, which needs to preview class fields before they are saved, and for this it uses a class field template that is cloned and modified by setting its name and object (xclass). The field.className we were using before is updated when the field name/xclass changes, but it's not the case for field.reference . We need to invalidate the reference cache in PropertyClass when the values used in createReference() are modified. * Improve the functional test to be able to run it multiple times on the same XWiki instance. * Even if the REST API accepts passing an absolute class reference (/rest/wikis/test/classes/test:Path.To.Class) I think it's cleaner to try to pass a local reference, to avoid the redundancy with the wiki path element. To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications