Skip to content

Conversation

@skjnldsv
Copy link
Member

Fix #44314

This is just mitigating the error itself, I don't know if the logic make sense overall

@skjnldsv skjnldsv added this to the Nextcloud 29 milestone Mar 19, 2024
@skjnldsv skjnldsv requested review from a team and icewind1991 March 19, 2024 12:10
@skjnldsv skjnldsv self-assigned this Mar 19, 2024
@skjnldsv skjnldsv requested review from ArtificialOwl and sorbaugh and removed request for a team March 19, 2024 12:10
@icewind1991
Copy link
Member

Makes sense.

I originally thought that wouldn't be needed as there should only be USERGROUP shares if there is a matching parent share. But I guess not...

@skjnldsv skjnldsv requested review from artonge and come-nc March 19, 2024 12:10
Copy link
Contributor

@artonge artonge left a comment

Choose a reason for hiding this comment

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

The null 'parent' might occur for the root parent share itself?
Another solution would be to add a condition on 'parent' in the query so it is not null?

@Altahrim Altahrim mentioned this pull request Mar 19, 2024
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 19, 2024
@skjnldsv skjnldsv merged commit 323acaf into master Mar 19, 2024
@skjnldsv skjnldsv deleted the fix/resolveGroupShares branch March 19, 2024 15:15
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 feature: sharing regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Call to a member function setPermissions() on null

4 participants