Handle no entity found for node/term/product warming

Created on 13 March 2023, over 1 year ago
Updated 15 March 2023, over 1 year ago

The drush commands that store url in queue for warming don't handle 0 items if certain additional parameters are set.

For example:

  • Select article node in microwave settings
  • Set additional parameters on created date with a 1 day perdiod +/- X days
  • If there is no articles in this period, the drush command microwave:process_nodes_urls will return a notice: "Finished with error".

Proposed resolution

This problem doesn't break anything but it will be great to catch it and display a message that is more explicit like:
"No article node were found on this period."

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡«πŸ‡·France t.maquin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024