Skip to content

Invalid monthly recurrence rule causes entire task list to disappear #3265

Description

@dlandgrebe

Steps to reproduce

Summary
A single task containing an invalid monthly recurrence rule causes its entire task list to disappear from the Nextcloud Tasks sidebar. No visible error notification explains what happened.

Possible steps to reproduce

  1. Edit a recurring task in Nextcloud Tasks.
  2. Set a monthly recurrence and select both the 24th and 25th.
  3. Deselect one of these days and save.
  4. Reload Tasks.

This editing sequence preceded the problem, but I have not independently reproduced the creation of the malformed rule.

Actual behaviour
The affected list briefly appears and then disappears. Its tasks are also absent from “All”. The same behaviour occurs in a private Firefox window.

The browser console reports:
Error: Could not extract integer from ""

The stack trace includes ical.js and getTasksFromCalendar in calendars.js.

Evidence
The Nextcloud ICS export contains this rule in one task:
RRULE:FREQ=MONTHLY;BYMONTHDAY=,24;UNTIL=20261225T020000Z

Parsing the export with ical.js reproduces the exact error. Removing only the empty entry before 24 allows the entire export to parse successfully.

Recovery
I removed recurrence and reminders from the affected task in Thunderbird and saved it back to the server. After reloading Nextcloud Tasks, the entire list became visible again.

Expected behaviour

  • Editing recurrence must not produce empty BYMONTHDAY entries.
  • One malformed task should not prevent the rest of the list from loading.
  • The app should identify the affected task and display an actionable error.

Environment
Nextcloud version: Managed Nextcloud by hosting.de 32.0.12
Tasks version: 0.18.0
Browser: Firefox on macOS
Connected clients: Thunderbird and NowThis
NowThis was closed on all devices during troubleshooting.

The client that originally wrote the malformed rule has not been conclusively identified.

Expected behavior

A malformed recurrence rule in one task should not hide the entire task list. Other tasks should remain accessible, and an error message should identify the affected task.

Actual behaviour

The entire task list briefly appears and then disappears. The console reports: Could not extract integer from ""

One task contained BYMONTHDAY=,24. Removing recurrence from that task in Thunderbird and saving it back to the server made the list visible again.

Tasks app version

0.18.0

CalDAV-clients used

Thundergird

Browser

Firefox 155.0.1

Client operating system

macOS

Server operating system

Unknown – managed by hosting.de

Web server

No response

Database engine version

No response

PHP engine version

No response

Nextcloud version

32.0.12

Updated from an older installed version or fresh install

No response

List of activated apps


Nextcloud configuration


Web server error log


Log file


Browser log

Error: Could not extract integer from ""

Additional info

Managed Nextcloud hosted by hosting.de. Server OS, web server, database, PHP version and upgrade history are unknown to me. “None” in these fields means unknown.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions