Activity: a trash restore is recorded with the backend path (invisible on renamed spaces) #916

Closed
opened 2026-10-15 17:36:02 +00:00 by Cordy · 1 comment
Owner

Found during the #911 research.

What happens: a restore from Deleted files is recorded in Activity with the backend path, for example /spaces/Old/... or /home/<user>/..., not the path the person sees.

Why it matters: on a renamed space, the entry does not show up in that file's Activity.

To do: record the person's own path, as v0.6.344 already does for the restore answer.

Found during the #911 research. **What happens:** a restore from Deleted files is recorded in Activity with the backend path, for example `/spaces/Old/...` or `/home/<user>/...`, not the path the person sees. **Why it matters:** on a renamed space, the entry does not show up in that file's Activity. **To do:** record the person's own path, as v0.6.344 already does for the restore answer.
Author
Owner

Shipped in v0.6.351 (PR #984), together with #971. Both dogfoods run it. Live check, 2026-10-20: PASS.

On files-bao and on files, I deleted a file and restored it from Deleted files. Its Activity now shows restore above upload, at the file's own path. Activity is now recorded under the backend path and translated for each viewer (#971), so a restore shows under the file's current name, including after a space rename (covered by tests).

The test data is removed.

**Shipped in v0.6.351 (PR #984), together with #971. Both dogfoods run it. Live check, 2026-10-20: PASS.** On files-bao and on files, I deleted a file and restored it from Deleted files. Its Activity now shows `restore` above `upload`, at the file's own path. Activity is now recorded under the backend path and translated for each viewer (#971), so a restore shows under the file's current name, including after a space rename (covered by tests). The test data is removed.
Cordy closed this issue 2026-10-20 13:58:11 +00:00
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#916
No description provided.