Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic update slug for page_tree_route based article #666

Closed
Olivier127 opened this issue Mar 15, 2024 · 1 comment
Closed

Automatic update slug for page_tree_route based article #666

Olivier127 opened this issue Mar 15, 2024 · 1 comment

Comments

@Olivier127
Copy link
Contributor

Q A
Bug? yes
New Feature? no
SuluArticleBundle Version 2.5.3
Sulu Version 2.5.13

Actual Behavior

When you create an article with a parameterized routePath using page_tree_route, despite having route_schema in params, the slug does not update automatically like an article with a parameterized routePath using route.

Expected Behavior

Automatic filling of the slug according to the default schema (in sulu_route) or according to the schema specified in the XML file of the article (routePath of type page_tree_route).

Steps to Reproduce

Create an article with the
page_tree.txt

put "page test" inside title section.
clic on the slug, or press tab key
The slug remains empty.

Possible Solutions

It seems that there is no event handling this use case. This page should have the same behavior as an article using the routePath of type route and calling the URL admin/api/routes?action=generate with the correct parameters.

@alexander-schranz
Copy link
Member

Think this is duplicated to #667

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

No branches or pull requests

2 participants