We had to decorate the MenuLinkTree service and found that this module doesn't use the interface in the construct of the EntityMenuLinkContentUrlGenerator class. This produces a fatal error when regenerating the sitemap.
I'm attaching a patch to fix this. (We're using 8.x-2.x but I also created a patch for 8.x-3.x)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | use-interface-8.x-3.x-1.patch | 1.54 KB | dagomar |
| #2 | use-interface-8.x-2.x-1.patch | 1.49 KB | dagomar |
Comments
Comment #2
dagomar commentedSorry I messed up, I forgot to update the 'use' statement.
Comment #4
gbyteAlbeit not a bug fix, the patch is appreiciated. I'm afraid however 2.x has been unsupported for a long time so I won't be pushing to it. There should be no reason for you not to switch to 3.x though, as there is an upgrade path.
Comment #5
dagomar commentedThanks @gbyte.co,
Incidentally a colleague had yesterday done an update and we're now on 3.x :). That was a thing as right before adding the patch I pulled in develop and the 2.x patch failed :D. Shenanigans. Anyway, thanks!