Skip to content
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

ProductPart SKU field editor vanishes after failed new content creation (OCC-232) #423

Open
sarahelsaig opened this issue Apr 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sarahelsaig
Copy link
Contributor

sarahelsaig commented Apr 14, 2024

Describe the bug

If you forget to fill out the SKU field, it correctly returns with an "SKU must not be empty." error message, but then the input field vanishes so it's impossible to fix it and you have to recreate the content item from scratch.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Admin > Content > Content Items.
  2. Click New > Product
  3. Fill in any field except SKU.
  4. Click the Publish button.
  5. Observe the failure with the "SKU must not be empty." error message.
  6. Observe the lack of an "SKU" field (screenshot below).

Expected behavior

  1. There should be client side validation against empty SKU field.
  2. If the server side validation fails, the SKU editor should still be displayed.

Screenshots

image

Jira issue

@sarahelsaig sarahelsaig added the bug Something isn't working label Apr 14, 2024
@github-actions github-actions bot changed the title ProductPart SKU field editor vanishes after failed new content creation ProductPart SKU field editor vanishes after failed new content creation (OCC-232) Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant