Skip to content

fix: Avoid failing on public dav URLs#6642

Merged
luka-nextcloud merged 1 commit intomainfrom
fix/public-dav
Jan 3, 2025
Merged

fix: Avoid failing on public dav URLs#6642
luka-nextcloud merged 1 commit intomainfrom
fix/public-dav

Conversation

@juliusknorr
Copy link
Copy Markdown
Member

@juliusknorr juliusknorr commented Jan 2, 2025

It seems that the dav plugins are now also called on public share links, so this changes ensure that we do not throw errors as deck is not expecting its classes to be initialized without a user session.

Signed-off-by: Julius Knorr <jus@bitgrid.net>
$this->activityManager = $activityManager;
$this->eventDispatcher = $eventDispatcher;

$this->assignmentServiceValidator->check(compact('userId'));
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is fine as it is checked in the controller methods

@luka-nextcloud luka-nextcloud merged commit fe1c4e5 into main Jan 3, 2025
@luka-nextcloud luka-nextcloud deleted the fix/public-dav branch January 3, 2025 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants