Description changes are lost when the due date is changed afterwards (regression of #2789)

Đang mở
#8,678 6 bình luận 19 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@grnd-alt đang làm issue này rồi.

Từ ngày 5/11/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

1. to develop bug
Describe the bug

Changes to a card's description are lost when the due date is changed afterwards. This looks like a regression of #2789 (closed in 2021).

Steps to reproduce
  1. Open an existing card in the sidebar
  2. Edit or extend the description text
  3. Right after that, change the due date of the same card
  4. Close the card and reload the page
Expected behavior

Both the new description and the new due date are saved.

Actual behavior

The due date is saved, but the description is reverted to its previous content. The description edit is lost.

If only the description is changed (no due date change afterwards), the edit is saved correctly.

Possible cause

As analysed in #2789: the due date update sends the complete (copied) card object, including the old description, and overwrites the description that is saved separately (with autosave delay) by the description editor. Similar pattern: #7294 (done state reset), #7115.

Workaround

Change the due date first, then edit the description - or close and reopen the card after editing the description before changing the due date.

Environment
  • Deck: 1.19.1
  • Nextcloud Server: 35.0.2
  • Browser: Firefox 159 (Flatpak) on Debian 13
Ngôn ngữ chính
JavaScript
Star
1.4k
Fork
380
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
72

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/deck

Tất cả issue của nextcloud/deck

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.