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

Product Creation AI: Failure while uploading packing photo is not handled #14069

Open
selanthiraiyan opened this issue Sep 30, 2024 · 1 comment
Labels
feature: add/edit products Related to adding or editing products. type: bug A confirmed bug.

Comments

@selanthiraiyan
Copy link
Contributor

Steps to reproduce

  • Log in to a store eligible for Jetpack AI features.
  • Navigate to the Products tab and select "+" > Create product with AI.
  • Select a product packaging, then continue.
  • After generated product details are populated, tap "Save as draft".
  • Intercept the product image upload network request using "Proxyman" and send an error.
  • You can see that the image upload error is not handled and displayed to the user.

Screenshot

Fix

  • ProductDetailPreviewViewModel needs to handle the image upload failure and show an error alert. Code
@selanthiraiyan selanthiraiyan added type: bug A confirmed bug. feature: add/edit products Related to adding or editing products. labels Sep 30, 2024
@dangermattic
Copy link
Collaborator

Thanks for reporting! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: add/edit products Related to adding or editing products. type: bug A confirmed bug.
Projects
None yet
Development

No branches or pull requests

2 participants