Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Sep 13, 2023

Conversation

kesselb
Copy link
Contributor

@kesselb kesselb commented Sep 6, 2023

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

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

kesselb commented Sep 6, 2023

/backport to stable27

@kesselb
Copy link
Contributor Author

kesselb commented Sep 6, 2023

/backport to stable26

Copy link
Member

@tcitworld tcitworld left a comment

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 kesselb force-pushed the bug/noid/webroot-calendar-events-activity branch from a6a68c8 to 19d18ef Compare September 7, 2023 15:38
@kesselb kesselb 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 kesselb force-pushed the bug/noid/webroot-calendar-events-activity branch from 19d18ef to 457f4a5 Compare September 13, 2023 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants