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
I switched the default locale (parameter %locale%) to a new language but many parts of the app are now blank and need to be filled, this is the case for taxons:
The problem here is that when trying to translate the first taxon the slug generation end up in 500 error. After digging a little bit, I figure out that the parent id sent to the slug generation is itself. See here the code:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I switched the default locale (parameter %locale%) to a new language but many parts of the app are now blank and need to be filled, this is the case for taxons:
The problem here is that when trying to translate the first taxon the slug generation end up in 500 error. After digging a little bit, I figure out that the parent id sent to the slug generation is itself. See here the code:
Sylius/src/Sylius/Bundle/AdminBundle/Resources/views/Taxon/_slugField.html.twig
Line 4 in 1e492e7
It does not make sense to me to generate slug like
category/category
while it's actuallycategory
.Is it a bug or is there a real feature hiding there?
Beta Was this translation helpful? Give feedback.
All reactions