Entity annotations should define link by URI, not route. See core issue #2281645: Make entity annotations use link templates instead of route names
This cause

InvalidArgumentException: Link templates accepts paths, which have to start with a leading slash. in Drupal\Core\Entity\EntityType->setLinkTemplate()

CommentFileSizeAuthor
#1 monolog-entity-links-2498267-1.patch606 byteswillzyx
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

willzyx’s picture

  • ParisLiakos committed 84cdb36 on 8.x-1.x authored by willzyx
    Issue #2498267 by willzyx: Entity annotations should define link by URI...
ParisLiakos’s picture

Status: Needs review » Fixed

Although i didnt see the exception anywhere, patch is corrected, so i committed it

Status: Fixed » Closed (fixed)

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