-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
To DiscussThe core team has to decide if this will be implementedThe core team has to decide if this will be implemented
Description
Currently the SuluContentBundle forces the user to have the route property named url in the template.
This behaviour is not consistent throughout Sulu. The ArticleBundle did not force you to have to property named url usually it was called routePath.
Therefore migrating the ArticleBundle to the ContentBundle requires also a migration of the XML templates.
Possible solution
- Add the required steps to the UPGRADE.md.
- Add a MetadataListener that shows an error in the UI when an entity detail page is opened with a
routeproperty that is not namedurl. - Force a
urlproperty in the template structure e.g.:
sulu_core:
content:
structure:
required_properties:
home:
- title
- url
Metadata
Metadata
Assignees
Labels
To DiscussThe core team has to decide if this will be implementedThe core team has to decide if this will be implemented