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 website assignment can be removed from REST API, but admin UI still does not reflect that #36281

Closed
github-jira-sync-bot opened this issue Oct 12, 2022 · 3 comments
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.

Comments

@github-jira-sync-bot
Copy link

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/

{
    "product": {
        "id": <product id>,
        "name": "Power Board SP 6 Way W/ Switches (test-5)",
        "visibility": "3",
        "extension_attributes": {
            "website_ids": []
        }
    }
}

 

Steps to replicate

  1. Assign website to a simple product from admin UI and save, you can see the record is available in catalogproductwebsite DB table. 

  2. Send the above REST API call to remove the websites assigned to that product.

  3. Check the catalogproductwebsite DB table again, you can see the product website reocrd is now deleted correctly

  4. 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.

 

@github-jira-sync-bot github-jira-sync-bot added 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 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. labels Oct 12, 2022
@github-jira-sync-bot
Copy link
Author

The issue was exported from the internal Jira. The link to the original Jira issue: https://jira.corp.adobe.com/browse/ACP2E-1136

@m2-assistant
Copy link

m2-assistant bot commented Oct 12, 2022

Hi @github-jira-sync-bot. Thank you for your report.
To speed up processing of this issue, make sure that you provided the following information:

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, review the Magento Contributor Assistant documentation.

Add a comment to assign the issue: @magento I am working on this

To learn more about issue processing workflow, refer to the Code Contributions.


⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.

🕙 You can find the schedule on the Magento Community Calendar page.

📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

@chittima
Copy link
Contributor

chittima commented Mar 8, 2023

Issue is fixed and here is the commit:
ef9a763

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
High Priority Backlog
  
Ready for Development
Development

No branches or pull requests

2 participants