Files
openproject/spec/controllers
Kabiru Mwenja a88698c230 Use where_display_id_in in find_work_packages
Both :work_package_id (single-WP routes) and :ids (bulk routes) come
from URLs or HTML forms and may carry semantic identifiers, so the
prior numeric-only assumption on :ids was wrong. Route both inputs
through WorkPackage.where_display_id_in, which returns a chainable
scope that matches numeric, current-identifier, and historical-alias
forms in a single query — no per-id round trip and no controller-side
coupling to WorkPackageSemanticAlias.

Tighten the post-move controller spec to assert the redirect URL
contains the destination project's semantic prefix when follow: 1 is
set, which is the path that exercises the moved WP's display_id.
2026-04-30 17:44:12 +03:00
..
2026-02-09 15:07:54 +01:00
2025-08-18 13:42:51 +02:00
2025-05-05 09:29:55 +02:00
2026-03-06 13:29:07 +01:00
2026-04-01 09:37:01 +02:00