Skip to content

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

@selanthiraiyan

Description

@selanthiraiyan

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions