Problem/Motivation
The links to entities are not correct. There is a bug in the getLineage method that assumes that the parent is a paragraph.
Steps to reproduce
Click on any entity with a canonical path to which a paragraph entity belongs. You will see that it loads a paragraph or a 404
Proposed resolution
- Refactor the getLineage method to start with the first parent of the requested paragraph.
- Do not initiate a recursion if the entity submitted to the method does not have parent entities.
Issue fork paragraph_lineage-3514755
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
chris dart commentedComment #5
chris dart commentedComment #8
chris dart commentedComment #9
chris dart commented