Hi,

I am using the module in combination with a couple of other modules and faced the following issue.

I am using https://www.drupal.org/project/multiple_registration to generate role based registration pages
This module allows defining custom URL for the registration forms.
In my use case, I defined a URL: /user/register/from

When trying to add this URL to a menu path, there is error being generated by function getMenuLinkNodeAttached in the class ContentEntityNormalizer. After debugging it, I realized that the function assumes that the last parameter of the URL is an entity ID (which is not the case) and tries to load it.

The patch will arrive in a couple of minutes

CommentFileSizeAuthor
#2 fix_entity_load-3049790.patch1.01 KBaurelianzaha
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aurelianzaha created an issue. See original summary.

aurelianzaha’s picture

Status: Active » Needs review
FileSize
1.01 KB

Patch attached

  • aurelianzaha authored 5e24896 on 8.x-2.x
    Issue #3049790 by aurelianzaha: getMenuLinkNodeAttached parameter entity...
Blanca.Esqueda’s picture

Status: Needs review » Fixed

@aurelianzaha
Thank you so much for the patch!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.