202306-NEA-DZ-FEW/student-store-team-2

App crashes when another user clicks on a newly created product.

Closed this issue · 0 comments

Bug Description:

Issue:

App crashes when another user clicks on a newly created product.

Bug Details:

  • Trigger: After creating a new product, when another user attempts to view the details or interact with this newly created product, the application crashes.
  • Affected Functionality: The crash occurs specifically when a user clicks or interacts with the details of a recently added product.
  • Expected Behavior: Users should be able to view and interact with newly added products without causing the application to crash.

Steps to Reproduce:

  1. Create a new product using the application interface.
  2. Access the application as a different user.
  3. Attempt to view or interact with the newly created product.
  4. Observe the application crash.

Notes:

  • This issue seems to occur specifically with newly created products and might be related to how data is being handled or retrieved from the Supabase database.
  • The crash impacts user experience and limits the ability to interact with new products effectively.

Possible Resolution Suggestions:

  • Investigate the data retrieval or rendering mechanism when displaying newly created products.
  • Check for any errors or discrepancies in how product data is fetched or processed.
  • Consider testing the application thoroughly with various scenarios involving newly created products.