Skip to content

LUT-32417: Provide a default pathlabel for XPage#763

Open
rzara wants to merge 2 commits into
lutece-platform:develop7.xfrom
rzara:LUT-32417
Open

LUT-32417: Provide a default pathlabel for XPage#763
rzara wants to merge 2 commits into
lutece-platform:develop7.xfrom
rzara:LUT-32417

Conversation

@rzara
Copy link
Copy Markdown
Member

@rzara rzara commented Apr 17, 2026

The switch from XSL to freemarker for the page breadcrumb made the pathlabel mandatory for XPages. Provide a default pathlabel for XPages which do not set one.

Fixes XPageAppServiceTest.testEnabledState

rzara added 2 commits April 17, 2026 16:40
The switch from XSL to freemarker for the page breadcrumb made the
pathlabel mandatory for XPages. Provide a default pathlabel for XPages
which do not set one.

Fixes XPageAppServiceTest.testEnabledState
The switch to freemarker exposed a bug in PortalServiceTest.
A Page must have a template. If not, it cannot be found by id.

To fix the test, assign a template to the test page.
@rzara
Copy link
Copy Markdown
Member Author

rzara commented Apr 17, 2026

Add a fix for PortalServiceTest.
It could be argued that there is a bug in the creation of pages, because you can create a page which cannot be found, because a required parameter (the template id) is not set. But this only fixes the test by providing a template id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant