Comments

liber_t created an issue. See original summary.

klimp’s picture

Added some ugly checks for menu items.

While exporting it adds some lines into _content_sync section ot the .yml file, e.g.

_content_sync:
  entity_type: menu_link_content
  menu_entity_link:
    node: 4179b948-6b83-478d-85f0-32fdf699ff0c
  entity_dependencies:
    node:
      - node.test.4179b948-6b83-478d-85f0-32fdf699ff0c

menu_entity_link subset has been added. Also it adds the node to the dependencies

klimp’s picture

Status: Active » Needs review
klimp’s picture

StatusFileSize
new4 KB

Fixed link path

blanca.esqueda’s picture

Hi Klimp,

Thanks for your help!
I applied the patch and it worked for some menu links, for other menu links I was getting the error attached in the comment.
For some reason, it seems like it was a conflict with the route schema for some items.
The referenced entity is already imported so updated a couple of lines to get the URI directly from the referenced entity, attached a patch to apply on top of yours.

Please test it and let me know if there is an issue.

blanca.esqueda’s picture

  • Blanca.Esqueda committed 2f68e7a on 8.x-2.x
    Issue #2975435 by Blanca.Esqueda: Link__uri in menu link not equal node...
  • Blanca.Esqueda committed 7195a65 on 8.x-2.x authored by klimp
    Issue #2975435 by klimp, liber_t: Link__uri in menu link not equal node...
blanca.esqueda’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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