-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Labels
Description
Current Behavior
Currently if you have a resource that is not valid, it will clog up the orphan reference processor and never be addressed... it remains indefinitely until you intervene in some way.
Expected Behavior
If there is an orphan, it should be removed whether its data is valid or not. No need to do a health check on the dead.
Steps To Reproduce
- needs invalid data (maybe because schema changed since it was referenced?)
- Replace the dataset with good data
- run the orphan reference processor queue repeatedly and see them never get processed.
- Long for the days when ORP stood for Old Rented Pony
Relevant log output (optional)
drush queue:list
---------------------------- ------- ---------------------------------
Queue Items Class
---------------------------- ------- ---------------------------------
orphan_reference_processor 28 Drupal\Core\Queue\DatabaseQueue
drush queue:run orphan_reference_processor
[error] JSON Schema validation failed. (28 times)
[error] JSON Schema validation failed.
[error] JSON Schema validation failed.
[error] JSON Schema validation failed.
drush queue:list
---------------------------- ------- ---------------------------------
Queue Items Class
---------------------------- ------- ---------------------------------
orphan_reference_processor 28 Drupal\Core\Queue\DatabaseQueueAnything else?
No response
Reactions are currently unavailable