Completing a single instance of a recurring task marks all future instances as completed

未关闭
#3,227 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
52/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
javascript
领域
backend, frontend

调研方向

在 Nextcloud Tasks Web UI 中使用每日或每周重复的任务重现该问题,然后跟踪主 VTODO 及其各个实例的完成处理。完成的标准是:完成今天的实例后,未来的实例仍保持未完成,并使用 issue 中所述的适当重复例外或日期推进方式。

由索引模型根据 Issue 内容生成。

描述

bug
Steps to reproduce
  1. Go to the Nextcloud Tasks app in the Web UI.
  2. Create a new task (e.g., "Test Task").
  3. Set a start date or due date for today.
  4. Set a recurrence rule (e.g., "Daily" or "Weekly").
  5. Check the task to mark it as completed for today.
  6. Check the Calendar app or future dates in the Tasks app.
Expected behavior

Only the current instance of the task should be marked as completed. The system should either generate a RECURRENCE-ID exception for the completed instance or roll the DUE date of the master object forward to the next interval, keeping the task series active and open for future dates.

Actual behaviour

When marking the current instance of a recurring task as "completed" via the Nextcloud Web UI, the system changes the status of the master VTODO object to completed. This incorrectly marks all future occurrences of the task as 100% completed as well, making the recurrence feature effectively unusable in the web interface.

Tasks app version

Version 0.18.1

CalDAV-clients used

N/A

Browser

Chrome

Client operating system

N/A

Server operating system

N/A

Web server

None

Database engine version

None

PHP engine version

None

Nextcloud version

Nextcloud Hub 26 Winter (33.0.6)

Updated from an older installed version or fresh install

None

List of activated apps

Nextcloud configuration

Web server error log

Log file

Browser log

Additional info

No response

主要语言
JavaScript
星标
710
派生
125
平均合并
19 小时 37 分钟
30 天内合并 PR
12

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

nextcloud/tasks 的其他 Issue

查看 nextcloud/tasks 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

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