Open maximilianzachow opened 6 years ago
Here's @fixpunkt's comment regarding the user locales https://github.com/VIISON/ShopwarePickwareERP/issues/511#issuecomment-316053660
Good Job finding this repro case!
We should make a PR for this.
During RefactoringFest, we moved all plugins which are not shipping adapters to use Smarty-less backend apps, which do a proper language fall-back. Because of this, making a PR to fix the underlying Shopware issue is not a priority for us.
Currently, you can create a user account without any default language set. When you access the backend with that user account afterwards a lot of our snippets don't appear anymore as you can see in the following screenshot (source: waffenfuzzi.de).
You can only reset them with the console command bin/console sw:snippets:to:db --include-plugins which is not the best way.
@antoniokupresak told me that @fixpunkt has some further information about how that behaviour is caused by the empty field of the default language. Probably it should be forbidden to create a user when no default language is set.