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

Đang mở
#3,227 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
javascript
Lĩnh vực
backend, frontend

Hướng nghiên cứu

Tái hiện sự cố trong Nextcloud Tasks Web UI với một tác vụ lặp lại hằng ngày hoặc hằng tuần, sau đó theo dõi việc xử lý hoàn thành của VTODO chính và từng lần xuất hiện của nó. Được coi là hoàn tất khi việc hoàn thành phiên bản của hôm nay vẫn để các lần xuất hiện trong tương lai ở trạng thái chưa hoàn thành, bằng cách sử dụng ngoại lệ lặp lại hoặc việc tiến ngày phù hợp được mô tả trong issue.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
JavaScript
Star
710
Fork
125
Merge trung bình
19 giờ 37 phút
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/tasks

Tất cả issue của nextcloud/tasks

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.