Product website assignment can be removed from REST API, but admin UI still does not reflect that #36281
Labels
Evaluated
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Priority: P2
A defect with this priority could have functionality issues which are not to expectations.
Progress: done
Progress: ready for dev
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Severity: S2
Major restrictions or short-term circumventions are required until a fix is available.
Projects
Issue
When we send a REST API like below to remove the product's website assignment it correctly works, we can see records in catalogproductwebsite data are correctly removed.
But when we go to admin panel and check we can see UI still show the product is assigned to the default store.
I used a simple product to check the issue on 2.4-develop
PUT: rest/all/V1/products/
Steps to replicate
Assign website to a simple product from admin UI and save, you can see the record is available in catalogproductwebsite DB table.
Send the above REST API call to remove the websites assigned to that product.
Check the catalogproductwebsite DB table again, you can see the product website reocrd is now deleted correctly
Go to admin UI product edit page and check, the UI still show the product is assigned to a website.
Expected Result
Admin UI should correctly show that the product is not assigned to any website
Actual Result
Admin UI shows that the product is not assigned to any website, even when the product to website records are not available in catalogproductwebsite table.
The text was updated successfully, but these errors were encountered: