mirror of
https://github.com/nextcloud/spreed.git
synced 2025-07-21 10:37:10 +00:00
Merge pull request #15548 from nextcloud/fix/15546/check-if-event-has-status
fix(dashboard): fix undefined array key 'status'
This commit is contained in:
@ -107,7 +107,7 @@ class CalendarIntegrationService {
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($event['STATUS'][0] === 'CANCELLED') {
|
||||
if (isset($event['STATUS']) && $event['STATUS'][0] === 'CANCELLED') {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@ Feature: integration/dashboard-talk
|
||||
|dashboardRoom | 2 | dashboardRoom-attachment | null | null | null | null | 1 | 1 |
|
||||
|dashboardRoom | 2 | dashboardRoom-attendees | 1 | 1 | null | null | 0 | 1 |
|
||||
|dashboardRoom | 2 | dashboardRoom-recurring | null | null | null | null | 0 | 1 |
|
||||
|
||||
|dashboardRoom | 2 | dashboardRoom-no-status | null | null | null | null | 0 | 1 |
|
||||
Scenario: User gets mutual events for a one to one conversation
|
||||
Given user "participant1" exists and has an email address
|
||||
Given user "participant2" exists and has an email address
|
||||
|
@ -0,0 +1,17 @@
|
||||
BEGIN:VCALENDAR
|
||||
PRODID:-//IDN nextcloud.com//Calendar app 5.2.0-dev.1//EN
|
||||
CALSCALE:GREGORIAN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
CREATED:20250310T171800Z
|
||||
DTSTAMP:20250310T171819Z
|
||||
LAST-MODIFIED:20250310T171819Z
|
||||
SEQUENCE:2
|
||||
UID:{{{UID}}}
|
||||
DTSTART:{{{START}}}
|
||||
DTEND:{{{END}}}
|
||||
SUMMARY:{{{NAME}}}-no-status
|
||||
LOCATION:{{{LOCATION}}}
|
||||
DESCRIPTION:{{{NAME}}}
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
Reference in New Issue
Block a user