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
When the user's language setting is set to a language other than English (in this case, French), it becomes impossible to publish/unpublish a product from the admin panel. An error message appears stating: "Erreur: status must be one of the following values: draft, proposed, published, rejected."
I expect to be able to publish or unpublish a product regardless of the user's language setting.
Additional context
It seems like the language setting is affecting the validation for product statuses, possibly due to localization issues. This is limiting the usability for non-English speaking users.
Additionally, upon inspecting the network traffic, it's evident that the POST request payload is sending the translated status. For instance, sending "{status: "Brouillon"}" instead of the expected enum values like "draft". This might be the root cause of the issue.
The text was updated successfully, but these errors were encountered:
bqst
changed the title
Admin Panem : Translated status causes product publishing errors for non-english
Admin : translated status causes product publishing errors for non-english
Oct 17, 2023
Bug report
Describe the bug
When the user's language setting is set to a language other than English (in this case, French), it becomes impossible to publish/unpublish a product from the admin panel. An error message appears stating: "Erreur: status must be one of the following values: draft, proposed, published, rejected."
System information
Medusa version (including plugins):
Node.js version: 18
Database: pg
Steps to reproduce the behavior
Expected behavior
I expect to be able to publish or unpublish a product regardless of the user's language setting.
Additional context
It seems like the language setting is affecting the validation for product statuses, possibly due to localization issues. This is limiting the usability for non-English speaking users.
Additionally, upon inspecting the network traffic, it's evident that the POST request payload is sending the translated status. For instance, sending
"{status: "Brouillon"}"
instead of the expected enum values like"draft"
. This might be the root cause of the issue.The text was updated successfully, but these errors were encountered: