Link to parent not correct

Created on 21 March 2025, about 1 month ago

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.
πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Chris Dart

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024