Skip to content

Deleting disabled category forces category flat and catalog search re-indexed fully #23297

Closed
@gulshan-streammarket

Description

@gulshan-streammarket

Description (*)

When deleting a disabled category having no child and not product assigned to it then the status of Category Flat Data and Catalog search updated to Re-index Required

Steps to reproduce (*)

  1. Create a disabled category
  2. Runindexer:reindex to make sure that all indexer valid
  3. Set all indexer to Update by schedule mode
  4. Delete category (from step 1)
  5. Observe indexers status

Expected behavior (*)

If a category is inactive then there should be no effect expected on catalog search and category flat index tables

Actual result (*)

Indexers have invalid status

Benefits

If this event happens Magento cron will try to full re-index and as indexing is time and resource consuming process then it may add some extra load unnecessarily. So we can avoid such things and save resource consumption if this event happens.

Additional information

Magento version: 2.4-develop
Indexer Mode: Update By Schedule

Metadata

Metadata

Labels

Component: IndexerIssue: 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.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions