mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
b8471484e0
The ancestors/children representer change calls `child.display_id`, which consults `identifier` in semantic mode. The Hierarchy eager loader preloads children with a minimal `SELECT id, subject, project_id, parent_id` for performance, so `identifier` was missing and `ActiveModel::MissingAttributeError` fired the moment a query endpoint rendered a work package with visible children in semantic mode. Add `identifier` to the SELECT. It's one extra short text column per child row.