Skip to content

catalog_product_entity_media_gallery not cleared when related products deleted. #17727

Closed
@likemusic

Description

@likemusic

Preconditions

  1. Magento 2.2.5CE with sample data.

Steps to reproduce

  1. Go to Products page and delete all products.
  2. Look at catalog_product_entity_media_gallery table.

Expected result

  1. Table catalog_product_entity_media_gallery is empty.

Actual result

  1. It's still has 3.422 rows. There is no row was deleted.

Metadata

Metadata

Labels

Component: CatalogFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions