NC Tasks flattens subtasks after they have been moved beteween calendars by Tasks.org

オープン
#2,917 コメント 7 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript
領域
backend

調査の方向性

Tasks.org、DAVx5、Nextcloud 31、NC Tasks 0.16.1を記載された構成で使用し、更新と同期の手順に従って問題を再現します。NC Tasksの更新中に、タスクの変更タイムスタンプとサブタスクの関係を何が変更するのかを追跡します。ユーザーが明示的に編集しない限り、更新後もタスクデータとサブタスク構造が変更されなければ完了です。

索引モデルが issue の本文から書いたものです。

説明

bug
Steps to reproduce
  1. Have a task with subtask
  2. Use Tasks.org to move it to a different calendar and note the modification timestamp
  3. Cause a manual sync in Tasks.org and see that it's still a subtask; unmodified (modified timestamp unchanged)
  4. Wait a minute and open/refresh NC Tasks
Expected behavior

NC tasks should not touch the subtask structure.

In fact, it should not touch any task data whatsoever unless the user explicitly asked for the specific modification to be done and merely refreshing the page should not imply any modification to be done.

Actual behaviour

The task has been modified after the NC Tasks refresh and the subtask is now at the top-level.

If you then sync Tasks.org again, it too has the subtask at the top level now, so it's not a data representation issue; NC tasks actually modified the task (modification timestamp changed) and that caused it to no longer be a subtask.

Tasks app version

0.16.1

CalDAV-clients used

DAVx5

Browser

No response

Client operating system

No response

Server operating system

No response

Web server

None

Database engine version

None

PHP engine version

None

Nextcloud version

31

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分
マージ済み PR(30日)
12

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/tasks のほかの issue

nextcloud/tasks の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。