You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a uriPathSegment is refreshed from the Neos UI, the $text property is passed along and respected, but the node configuration is not evaluated.
When a uriPathSegment is generated on creating a page, the node label is used. The node label defaults to the title, but can be overridden in the node type configuration.
Expected Behavior
If a node label is configured, either
the node label is not respected also when refreshing the uriPathSegment
or
the node label is never respected (which would be breaking)
(Personally, I've always felt that the node label configuration is a backend thing - to be able to improve readability in the node tree. But it is also used by default in the Menu implementations.)
Steps To Reproduce
Create a document node type with a node label configuration:
Create such a node. Since you have to select a date, the resulting uriPathSegment will be something like 15-01-2024-the-given-title (which is not great but there's nothing you can do about it - also see here).
Refresh the uriPathSegment in the Neos UI. The uriPathSegment will change to the-given-title.
Environment
- Neos: 8.3 (but must be present in lower versions, too)
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
The NodeUriPathSegmentGenerator generates a different output when creating a node and refreshing the
uriPathSegment
if a node label is configured.The linked code shows the problem:
When a uriPathSegment is refreshed from the Neos UI, the
$text
property is passed along and respected, but the node configuration is not evaluated.When a uriPathSegment is generated on creating a page, the node label is used. The node label defaults to the title, but can be overridden in the node type configuration.
Expected Behavior
If a node label is configured, either
or
(Personally, I've always felt that the node label configuration is a backend thing - to be able to improve readability in the node tree. But it is also used by default in the Menu implementations.)
Steps To Reproduce
Create such a node. Since you have to select a date, the resulting uriPathSegment will be something like
15-01-2024-the-given-title
(which is not great but there's nothing you can do about it - also see here).Refresh the uriPathSegment in the Neos UI. The uriPathSegment will change to
the-given-title
.Environment
- Neos: 8.3 (but must be present in lower versions, too)
Anything else?
No response
The text was updated successfully, but these errors were encountered: