Skip to content

Commit a5cd690

Browse files
committed
MC-21897: Fatal error catalogpermissions_product indexer does not exist during cron reindex
1 parent d271281 commit a5cd690

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/Mview

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Mview/View.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ public function unsubscribe()
240240
*/
241241
public function update()
242242
{
243-
if ($this->getState()->getStatus() !== View\StateInterface::STATUS_IDLE) {
243+
if (!$this->isIdle() || !$this->isEnabled()) {
244244
return;
245245
}
246246

0 commit comments

Comments
 (0)