I can't delete a mega menu via the CMS (Drupal 8.4.0) or via `entity_delete_multiple('simple_mega_menu', $result)`.
They both give the following error:
Drupal\Core\Entity\EntityStorageException: Some mandatory parameters are missing ("simple_mega_menu_revision") to generate a URL for route "entity.simple_mega_menu.revision_revert". in Drupal\Core\Entity\Sql\SqlContentEntityStorage->delete() (line 753 of /mnt/www/html/SITE/docroot/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
Let me know if I can do anything to help track down or fix.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2919073-5.patch | 3.59 KB | flocondetoile |
| #3 | 2919073-3.patch | 586 bytes | flocondetoile |
Comments
Comment #2
flocondetoileThanks for reporting this issue. I remember that commerce 2.x have got same issue on 8.4. I will fix this soon.
Comment #3
flocondetoileFirst, a failing test.
Comment #5
flocondetoileThis patch should fix the issue. Let's me know.
Comment #6
bloke_zero commented@flocondetoile patch works! Many thanks for the quick response.
Comment #8
flocondetoile