You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
Describe the bug
when we are in admin/productlist route, when we click on edit button and update a product then we will get again redirected to admin/productlist. Here starts the problem now when we want to edit any other product we will get an error Uncaught TypeError: Cannot read properties of undefined (reading 'name') at ProductEditScreen.js:47:1
To Reproduce
Steps to reproduce the behavior:
Go to admin/productlist
Click on edit button for one product
Edit details of that product
Click update button
It will get redirect again to admin/productlist
Now try to edit any product it will show a blank page
And if we open console we get this message Uncaught TypeError: Cannot read properties of undefined (reading 'name') at ProductEditScreen.js:47:1
Expected behavior
We should see an edit page of that particular product.
Screenshots
The text was updated successfully, but these errors were encountered:
But you don't have any contribution or commit to your own repos before.
roopeshsn
changed the title
Page goes blank when we try to edit any product in admin/productlist page after editing one of the product once
Page goes blank when we try to edit any product in admin/productlist page after editing one of the product before
Oct 8, 2022
Hi @roopeshsn. Sorry I don't have any commits on this account. I have found the source of the bug and fixed it. Do you want me to create the PR or should I work on some other bug
Describe the bug
when we are in admin/productlist route, when we click on edit button and update a product then we will get again redirected to admin/productlist. Here starts the problem now when we want to edit any other product we will get an error Uncaught TypeError: Cannot read properties of undefined (reading 'name') at ProductEditScreen.js:47:1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
We should see an edit page of that particular product.
Screenshots
The text was updated successfully, but these errors were encountered: