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

The "Used in" still displays that the image is used in a Product after the Product has been deleted #1474

Closed
chalov-anton opened this issue Jun 15, 2020 · 1 comment · Fixed by #1483 or magento/magento2#28798
Labels
bug Something isn't working Priority: P2 Should be fixed as early as possible Severity: S2 Affects non-critical data or functionality and forces users to employ a workaround
Projects
Milestone

Comments

@chalov-anton
Copy link
Contributor

Preconditions (*)

  1. Installed Magento with Adobe Stock Integration
  2. Configured integration in Stores -> Configuration -> System -> Adobe Stock Integration fieldset

Steps to reproduce (*)

  1. Create a Product and add an image from Media Gallery
  2. Go to Content - Media Gallery and View the Details of the image that was previously added to the Product
  3. Verify that the Details display that the image is Used In 1 Product
  4. Go to Catalog - Products and Delete the previously created Product
  5. Perform bin/magento indexer:reindex, bin/magento media-content:sync, bin/magento cache:clean
  6. Go to Go to Content - Media Gallery and View the Details of the image that was previously Used

Expected result (*)

The image is not Used in a product so it should not be displayed in Details

Actual result (*)

The Details still display that the image is Used In 1 Product

Note

Please also consider

  • pages
  • blocks
  • categories
@chalov-anton chalov-anton added bug Something isn't working Severity: S1 Affects critical data or functionality and forces users to employ a workaround labels Jun 15, 2020
@chalov-anton chalov-anton added this to the 2.0.0 Stabilization milestone Jun 15, 2020
@m2-assistant
Copy link

m2-assistant bot commented Jun 15, 2020

Hi @chalov-anton. Thank you for your report.
To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


@m2-community-project m2-community-project bot added this to Ready for Grooming in Backlog Jun 15, 2020
@Nazar65 Nazar65 self-assigned this Jun 15, 2020
@m2-community-project m2-community-project bot moved this from Ready for Grooming to Dev In Progress in Backlog Jun 15, 2020
@m2-community-project m2-community-project bot moved this from Dev In Progress to Pull Request In Progress in Backlog Jun 16, 2020
@m2-community-project m2-community-project bot assigned Nazar65 and unassigned Nazar65 Jun 17, 2020
@lenaorobei lenaorobei added the Priority: P1 Needs to be fixed before any other issues label Jun 17, 2020
@lenaorobei lenaorobei removed the Priority: P1 Needs to be fixed before any other issues label Jun 18, 2020
Backlog automation moved this from Pull Request In Progress to Done Jun 18, 2020
@lenaorobei lenaorobei reopened this Jun 22, 2020
@m2-community-project m2-community-project bot moved this from Done to Ready for Grooming in Backlog Jun 22, 2020
@lenaorobei lenaorobei modified the milestones: 2.0.0 Stabilization, 2.1.0 Jun 22, 2020
@lenaorobei lenaorobei added Priority: P2 Should be fixed as early as possible Severity: S2 Affects non-critical data or functionality and forces users to employ a workaround and removed Severity: S1 Affects critical data or functionality and forces users to employ a workaround labels Jun 22, 2020
@lenaorobei lenaorobei moved this from Ready for Grooming to Pull Request In Progress in Backlog Jun 22, 2020
Backlog automation moved this from Pull Request In Progress to Done Jun 24, 2020
sivaschenko pushed a commit that referenced this issue Jun 24, 2020
…hat the image is used in a Product after the Product has been deleted

- code style fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority: P2 Should be fixed as early as possible Severity: S2 Affects non-critical data or functionality and forces users to employ a workaround
Projects
Backlog
  
Done
3 participants