No link template 'canonical' found for the 'paragraph' entity type
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3218084. --> Reported by: [sdstyles](https://www.drupal.org/user/1420228) Related to !20 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p><code>Drupal\Core\Entity\Exception\UndefinedLinkTemplateException: No link template 'canonical' found for the 'paragraph' entity type in Drupal\Core\Entity\EntityBase-&gt;toUrl()</code></p> <p>Because paragraph entity doesn't have a default URL, this error is thrown when cloning a paragraph entity with the destination entity also of type paragraph.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Use contextual links to clone a paragraph which is child of another paragraph.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>We expect the clone paragraph form to be redirected to node page, when the destination for the cloned entity is a paragraph we are going to redirect to parent entity.</p>
issue