Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
there is a case with entityform entities (maybe other entities) that when deleting lets say entityform/8 the function in question will delete the node/8 menu items
Comment | File | Size | Author |
---|---|---|---|
#3 | et-menu-delete-bug-2000926-3.patch | 825 bytes | bforchhammer |
#1 | 2000926.patch | 753 bytes | GiorgosK |
Comments
Comment #1
GiorgosKI think its of major importance because one that has enabled other entities (entityform etc) and uses this modules can potentially loose menu link items and not know why this happens
it happened to me for a month already without knowing the cause
here is trivial patch that offers a temporary solution but it might not be the optimal one
Comment #3
bforchhammer CreditAttribution: bforchhammer commentedOh wow, that is a major bug. Fix looks fine (we are only considering node entities anyway). If noone objects, I'll commit the attached patch soon...
Comment #4
bforchhammer CreditAttribution: bforchhammer commentedCommitted and pushed, thanks!