-
Notifications
You must be signed in to change notification settings - Fork 12
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
Make Theme defaultMessages optional #460
Comments
This should work... is your source theme up to date and have all of the required keys? It is possible if you upgraded that if you view the theme in the UI it will prompt you to add missing keys. This can happen if we add a new value to the default messages, then next time you edit the theme in the UI it will prompt you to add the missing keys. Perhaps an enhancement we could make is that if the source theme is in this state and you use it as a source during a Theme create instead of failing we just fall back to the default values in the default theme so that this type of API call never fails even if the source theme needs attention. |
The source theme is the default theme. Would think this is in a clean state. |
If the If you are using that as your source and you are getting validation errors that sounds like a bug. If you are using a |
I used |
I see the error now, I missed it when looking at your request JSON. The https://fusionauth.io/docs/v1/tech/apis/themes Try this:
|
Let me know if this is still an issue or if my suggestion corrected the behavior you're seeing. Thanks! |
Theme defaultMessages optional
Description
I try to clone the default theme via api.
but need to set all defaultMessages to add a new theme.
Steps to reproduce
Add a new theme via api with following body:
Result:
Expected behavior
defaultMessages are optional and it's possible to clone the default theme.
The text was updated successfully, but these errors were encountered: