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
As super admin you can visit Admin -> Configuration -> Content to change logos, footer and other text. On a fresh instance, these fields should contain defaults depending on the default language. Unfortunately, translations are not available in content defaults and missing translations are shown.
Expected Behavior
There is a default text in each field.
Actual Behaviour
There is a translation missing message in each field.
Steps to Reproduce
Use a new instance or reset the database or use a database that didn't set all content fields. Delete the cache via rm tmp in the app directory if you reset the database.
Log in as admin and go to Admin -> Configuration -> Content.
Animated Gif/Screenshot
Context
I tried to add a new content field and my dev environment showed these errors when testing.
Severity
s4 as it only affects super admins setting up a new instance.
Your Environment
Version used: 1.31.0
Possible Fix
Don't define ContentConfig in an initializer while I18n is not available. Create a service ContentConfig instead. If that doesn't help, re-implement the storage of content, not using Spree's preferences.
The text was updated successfully, but these errors were encountered:
sigmundpetersen
added
the
bug-s4
The bug is annoying, but doesn't prevent from using the platform. Not so many users are impacted.
label
May 7, 2019
Hum, indeed thanks @RachL.
I don't think so - I guess this was automatically placed here after reopening the issue (there's nobody assiged). I'll move it to all the things 👍
Description
As super admin you can visit Admin -> Configuration -> Content to change logos, footer and other text. On a fresh instance, these fields should contain defaults depending on the default language. Unfortunately, translations are not available in content defaults and missing translations are shown.
Expected Behavior
There is a default text in each field.
Actual Behaviour
There is a translation missing message in each field.
Steps to Reproduce
rm tmp
in the app directory if you reset the database.Animated Gif/Screenshot
Context
I tried to add a new content field and my dev environment showed these errors when testing.
Severity
s4 as it only affects super admins setting up a new instance.
Your Environment
Possible Fix
Don't define
ContentConfig
in an initializer while I18n is not available. Create a serviceContentConfig
instead. If that doesn't help, re-implement the storage of content, not using Spree's preferences.The text was updated successfully, but these errors were encountered: