mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
3e0f738c2c
In semantic mode, the work package breadcrumb renders numeric IDs instead of the semantic identifier because ancestor HAL resources are built from `_links.ancestors[]` entries that only carry `href` and `title`. With no top-level `displayId` in `$source`, the frontend getter falls through to the numeric id parsed from the href. Emit `displayId` alongside `href`/`title` on each ancestor and child link in the representer, and have the `displayId` getter fall back to the self link's `displayId` so resources built from a link payload alone still surface the semantic identifier.