Completing a recurring parent advances recurring subtasks a second time
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 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分
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 件 ·
メンテナーはふだん 1 日以内に返信
-
1. to develop
難易度 5/5 1週間以上 初心者へのやさしさ 39/100
メンテナーはふだん 1 日以内に返信
nextcloud/tasks の issue をすべて見る
似ている 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