done_at field is lost when moving a task to another project and back #614

Closed
opened 2025-11-01 21:00:24 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Plong-Wasin on GitHub (Sep 11, 2025).

Description

When a task is moved from one project to another and then moved back to the original project, the done_at field (the timestamp indicating when the task was completed) disappears or is lost.

Expected behavior:

  • The done_at value should be preserved when moving tasks between projects, including when moving the task back to the original project.

Actual behavior:

  • After moving a task to a different project and then returning it to the original project, the done_at field is missing or reset.

Steps to reproduce:

  1. Mark a task as done, ensuring the done_at timestamp is present.
  2. Move the task from the original project to a different project.
  3. Move the same task back to the original project.
  4. Observe that the done_at field is no longer set on the task.

This issue may lead to inaccurate task status or history loss. Preserving the done_at field during project moves will ensure task completion data consistency.

Vikunja Version

v1.0.0-rc1-128-e5e0413b

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

No response

Originally created by @Plong-Wasin on GitHub (Sep 11, 2025). ### Description When a task is moved from one project to another and then moved back to the original project, the `done_at` field (the timestamp indicating when the task was completed) disappears or is lost. Expected behavior: - The `done_at` value should be preserved when moving tasks between projects, including when moving the task back to the original project. Actual behavior: - After moving a task to a different project and then returning it to the original project, the `done_at` field is missing or reset. Steps to reproduce: 1. Mark a task as done, ensuring the `done_at` timestamp is present. 2. Move the task from the original project to a different project. 3. Move the same task back to the original project. 4. Observe that the `done_at` field is no longer set on the task. This issue may lead to inaccurate task status or history loss. Preserving the `done_at` field during project moves will ensure task completion data consistency. ### Vikunja Version v1.0.0-rc1-128-e5e0413b ### Browser and version _No response_ ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots _No response_
Author
Owner

@kolaente commented on GitHub (Sep 11, 2025):

Fixed in https://github.com/go-vikunja/vikunja/pull/1470, please check with the next unstable build (should be ready for deployment in ~30min, also on try).

@kolaente commented on GitHub (Sep 11, 2025): Fixed in https://github.com/go-vikunja/vikunja/pull/1470, please check with the next unstable build (should be ready for deployment in ~30min, also on [try](https://try.vikunja.io)).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#614