Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch entity_reference_revisions to break loop when updating event
We see PHP running out of memory when running a deploy hook, dpl_update_deploy_field_relevant_ticket_manager(), on a specific site, for a specific eventseries. It turns out this event series has instances where each instance has a paragraph which references other instances within the series. This creates a circular dependency. To break this we patch drupal/entity_reference_revisions. drupal/entity_reference_revisions is currently an implicit dependency through drupal/paragraphs. To avoid it moving without our explicit consent and patches thus not applying we add drupal/entity_reference_revisions as an explicit dependency. We use the same version as is currently used within the project.
- Loading branch information