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
For the issue the solution is add better checking for type and created configuration. Best would be to fail already in a compilerpass.
This issue appeared in slack and so I want to make sure other can find it here.
The text was updated successfully, but these errors were encountered:
alexander-schranz
added
bug
Error or unexpected behavior of already existing functionality
DX
Only affecting the end developer
and removed
bug
Error or unexpected behavior of already existing functionality
labels
Jun 1, 2022
Actual Behavior
Currently if you define a new type and forget to configure it in the
sulu_article
configuration.The following error appears:
This is confusing developer as they don't know what they did wrong
Expected Behavior
A better error message should be shown so the know they forget to define the type translation in
sulu_article
config.Steps to Reproduce
Create a template with a new type but do not configure it in sulu_article.
Possible Solutions
For people running into this issue the solution is always to configure the article type translation.
See https://github.com/sulu/SuluArticleBundle/blob/2.x/Resources/doc/article-types.md#sulu-admin-translations
For the issue the solution is add better checking for type and created configuration. Best would be to fail already in a compilerpass.
This issue appeared in slack and so I want to make sure other can find it here.
The text was updated successfully, but these errors were encountered: