[xwiki/xwiki-platform] 9bede7: XWIKI-25188: Improve the title extracted from the ...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 9bede7c961813055c60bebf68ea99cb3b02c7213 https://github.com/xwiki/xwiki-platform/commit/9bede7c961813055c60bebf68ea99... Author: Michael Hamann <[email protected]> Date: 2026-10-09 (Fri, 09 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-display/xwiki-platform-display-api/src/main/java/org/xwiki/display/internal/DocumentTitleDisplayer.java M xwiki-platform-core/xwiki-platform-display/xwiki-platform-display-api/src/test/java/org/xwiki/display/internal/DocumentTitleDisplayerTest.java M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/doc/XWikiDocumentRenderingTest.java Log Message: ----------- XWIKI-25188: Improve the title extracted from the content * Execute the heading extracted from the content in the context of the document it comes from. * Keep the meta data of the content, in particular the source, on the heading XDOM. * Set the reference of the document as the transformation id. * Add unit and integration tests. * Fall back to the document name when the heading extracted from the content cannot be rendered - plain text contexts such as the browser tab title, the breadcrumb or the navigation tree would otherwise display the whole error description, including the stack trace. * Update the tests that expected a rendering error as the title. Co-Authored-By: Claude Opus 5 <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications