Skip to content

fix(caldav): add webroot to objectid for activities - #40301

Merged
ChristophWurst merged 1 commit into
masterfrom
bug/noid/webroot-calendar-events-activity
Sep 13, 2023
Merged

fix(caldav): add webroot to objectid for activities#40301
ChristophWurst merged 1 commit into
masterfrom
bug/noid/webroot-calendar-events-activity

Conversation

@kesselb

@kesselbkesselb commented Sep 6, 2023

Copy link
Copy Markdown
Contributor

Summary

A calendar uri includes the webroot: example.com/cloud/remote.php/dav/calendars/alice/personal/
The calendar app uses base64(calendar uri) as identifier for calendar objects.

Without this patch the links from activity app to calendar app don't work for installations in a subdirectory.

TODO

  • CI

Checklist

@kesselbkesselb added bug 3. to review Waiting for reviews labels Sep 6, 2023
@kesselbkesselb added this to the Nextcloud 28 milestone Sep 6, 2023
@kesselbkesselb self-assigned this Sep 6, 2023
@kesselb

Copy link
Copy Markdown
ContributorAuthor

/backport to stable27

@kesselb

Copy link
Copy Markdown
ContributorAuthor

/backport to stable26

@tcitworldtcitworld left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mind adding a check that getWebroot() is called in EventTest.php::testGenerateObjectParameter?

@kesselb
kesselbforce-pushed the bug/noid/webroot-calendar-events-activity branch from a6a68c8 to 19d18efCompareSeptember 7, 2023 15:38
@kesselbkesselb added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Sep 12, 2023
A calendar uri includes the webroot: example.com/cloud/remote.php/dav/calendars/alice/personal/
The calendar app uses base64(calendar uri) as identifier for calendar objects.
Without this patch the links from activity app to calendar app don't work for installations in a subdirectory.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb
kesselbforce-pushed the bug/noid/webroot-calendar-events-activity branch from 19d18ef to 457f4a5CompareSeptember 13, 2023 18:33
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@kesselb@ChristophWurst@tcitworld@miaulalala