Skip to content

CLASS: PUBLIC ics imports as private, when there is a SPACE before PUBLIC #8076

@jannes922

Description

@jannes922

Steps to reproduce

  1. Import ics in nextcloud web ui in a shared calendar:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:https://github.com/derhansen/sf_event_mgt
METHOD:PUBLISH
BEGIN:VEVENT
UID:xx@mail.tld
CLASS: PUBLIC
SUMMARY:xxx
DESCRIPTION:xx
LOCATION:xx
DTSTAMP:20260228T182157Z
DTSTART:20260327T080000Z
DTEND:20260327T140000Z
END:VEVENT
  1. Events are visible for the user who imported the ics. No error observed.
  2. Check with different account, who also has access to the shared calendar.

Expected behavior

All users can see the event.
(If the import detects a non compliant ics, warn the user and do not fail silently)

Actual behavior

Users besides the owner of the shared calendar can not see the events.

Calendar app version

6.2.1

CalDAV-clients used

Thunderbird. (this produces the same result as the nextcloud web import)

Browser

ZEN

Client operating system

Linux

Server operating system

nixos, docker

Web server

Apache

Database engine version

PostgreSQL

PHP engine version

PHP 8.4

Nextcloud version

32.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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions