Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion lib/Controller/ApplicationsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1312,7 +1312,13 @@ private function lookupOne(
];

if ($owner !== null) {
$query['owner'] = $owner;
// OR records ownership under `@self.owner`, not at the
// top level. Placing the filter on the top-level `owner`
// field made every owner-scoped lookup miss (#51) — the
// slug-collision check then fell through and the org-wide
// register-slug unique constraint raised `clone_failed`
// instead of the documented `slug_collision`.
$query['@self']['owner'] = $owner;
}

$results = $this->objectService->searchObjects(query: $query);
Expand Down
Loading