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

未关闭
#8,678 6 条评论 19 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@grnd-alt 已经在做这个了。

开始于 2026年11月5日。

评估

这个 Issue 还没有评估数据。

描述

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
主要语言
JavaScript
星标
1.4k
派生
380
平均合并
1 天 17 小时
30 天内合并 PR
72

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/deck 的其他 Issue

查看 nextcloud/deck 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。