-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Receive server error when Label information isn't entered #2225
Comments
I'm seeing this error as well. It happens when you don't fill in the title on the product, the label on a variant, or the label on a option. Shows the "No changes to publish" alert to the user, even though there are icons indicating changes need to be published. Same error as @zenweasel on the server |
@michael-alade - there is a case where there are multiple validation errors. I agree that there should be a toast alert letting the user know that there are validation errors, but i don't think that's enough. We also need error states on any form field that is not valid and should expand and highlight any accordion that has invalid information as well. I feel that the accordion headers should have invalid states and styles as well. @rymorgan any thoughts on this? |
@spencern The question is if we want to hold up this fix while we wait for design or just revisit separately. |
If we've got a fix done, ship it and make a new issue for the validation I'd say, but it's a high priority issue for me either way. |
Right, the issue is the one we created yesterday. #2276 |
👍 |
Closed via PR #2276 (not the ticket of the same name) |
@zenweasel @michael-alade I've re-opened this issue because while we should not see server errors here, the client should validate and should also ideally open contextually and highlight error source. While having error alerts (which I think is what #2276 added) -> was a step in the right direction, it is still not a satisfactory solution for the user experience. If the outcome of this is to create a new issue with @rymorgan's feedback, that'd be ok, but it's a real usability issue as it stands now. |
@zenweasel @aaronjudd @michael-alade -- I pulled this issue into the design project and will get to it later this week. |
I am pretty sure I already created a separate issue for PDP validation. |
@zenweasel gotcha 👍 |
Close in favor of #2274 |
Expected behavior
Some validation should be performed if you don't enter fields that are required to create the record
Actual Behavior
Receive a server error and "There are no changes to publish".
Steps to Reproduce the Behavior
Versions
The text was updated successfully, but these errors were encountered: