Completing a recurring parent advances recurring subtasks a second time
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 50/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript, php
调研方向
使用所述的复选框步骤在 Tasks Web UI 中重现重复场景,然后跟踪父项完成路径及其对重复子任务的递归处理。根据报告的每周日期验证修复:子项在完成后已经重新安排过时,父项完成时不得再次向前推进。
由索引模型根据 Issue 内容生成。
描述
Steps to reproduce
- In the Nextcloud Tasks web UI, create a parent task with
DTSTARTandDUEset to today. - Configure the parent to repeat weekly.
- Add a subtask with the same start date, due date, and weekly recurrence.
- Complete the subtask using its checkbox.
- Observe that the subtask is rescheduled by one recurrence interval.
- Complete the parent task using its checkbox.
Expected behavior
Completing the recurring parent should not silently complete the already-rescheduled occurrence of a recurring subtask and advance it a second time.
Possible safe behaviors would be:
- do not cascade completion to a recurring child whose current occurrence is later than the parent's completed occurrence;
- ask which open subtasks should be completed, as discussed in #2376; or
- prevent completion of the parent until its current subtasks are complete, without affecting their newly generated occurrences.
Actual behaviour
Completing the child advances it once, as expected. Completing the parent immediately afterwards recursively completes the child's newly scheduled occurrence and advances the child a second time.
In a clean weekly reproduction:
- parent: 2026-08-26 -> 2026-09-02;
- child after completing the child: 2026-08-26 -> 2026-09-02;
- same child after subsequently completing the parent: 2026-09-02 -> 2026-09-09.
The 2026-09-02 child occurrence is therefore skipped without a warning. Recurring sibling subtasks that were not completed individually were advanced once by completing the parent.
This was reproduced entirely in the Tasks web UI with temporary tasks. No external CalDAV client was involved.
Tasks app version
0.18.1
CalDAV-clients used
None for reproduction
Browser
Google Chrome
Client operating system
macOS
Server operating system
Official Nextcloud Docker image (nextcloud:34.0.2-apache)
Web server
Apache
Database engine version
PostgreSQL
PHP engine version
Bundled with the official Nextcloud 34.0.2 Apache image
Nextcloud version
34.0.2
Updated from an older installed version or fresh install
Updated from an older version
List of activated apps
Not relevant; reproduced using the Tasks web UI only.
Nextcloud configuration
Standard containerized installation. No custom Tasks patch.
Web server error log
No related error.
Log file
No related error.
Browser log
No related error.
Additional info
This is related to, but distinct from, #2376. That issue covers recursively completing open subtasks in general. This report covers the recurrence-specific consequence: an already completed and rescheduled child occurrence is completed again when the parent is completed, silently skipping the next occurrence.
Current workaround: use a permanent, undated, non-recurring parent as a container and never complete it; only the subtasks recur and are completed.
- 主要语言
- JavaScript
- 星标
- 710
- 派生
- 125
- 平均合并
- 19 小时 37 分钟
- 30 天内合并 PR
- 12
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/tasks 的其他 Issue
-
enhancement
难度 1/5 1 小时以内 新手友好度 84/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 70/100
nextcloud/tasks#3240 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
nextcloud/tasks#3111 · 1 条评论 ·
维护者通常 1 天内回复
-
feature
难度 2/5 1-3 小时 新手友好度 65/100
nextcloud/tasks#122 · 9 条评论 · 25 个 reaction ·
维护者通常 1 天内回复
-
1. to develop
难度 5/5 一周以上 新手友好度 39/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 66/100
remotion-dev/remotion#13341 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
svix/svix-webhooks#2808 ·
维护者通常 1 天内回复
-
enhancement should-have ux
难度 2/5 1-3 小时 新手友好度 72/100