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

Issues with creating/modifying articles that no longer have a matching template. #247

Closed
Arjen-Smit opened this issue Aug 30, 2017 · 0 comments · Fixed by #258
Closed

Issues with creating/modifying articles that no longer have a matching template. #247

Arjen-Smit opened this issue Aug 30, 2017 · 0 comments · Fixed by #258
Milestone

Comments

@Arjen-Smit
Copy link

Arjen-Smit commented Aug 30, 2017

Q A
Bug? no
New Feature? yes
SuluArticleBundle Version 0.6.2
Sulu Version 1.6

Actual Behavior

when renaming the key of a template but not the name of the file itself it's still possible to open a article in the admin. but it has multipage enabled and you won't be able to save the article. Also it's possible to create a new article based on that template (although the page won't load)

Expected Behavior

Should give a clear warning that the template can not be found. and avoid opening the page in that case, to avoid issues with the content.

Steps to Reproduce

Rename the <key> in an article template without changing the filename.

Possible Solutions

There should be a template checker cause this could cause weird issues. To my knowledge something similar already exists in the pages section.

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 a pull request may close this issue.

2 participants