Skip to content

Conversation

@icewind1991
Copy link
Member

instead of always picking the first one, try to find one that won't blow up.

To test:

  • user A, B both in G1 and G2 and admin
  • create groupfolder GF1 for groups G1 and G2
  • Create a file GF1/test.txt
  • as A share GF1 to G1
  • as B share GF1 with G2
  • As A or B, try to enter "GF1 (2)"

instead of always picking the first one, try to find one that won't blow up

Signed-off-by: Robin Appelman <[email protected]>
@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Jul 30, 2024
@icewind1991 icewind1991 added this to the Nextcloud 30 milestone Jul 30, 2024
@icewind1991 icewind1991 requested review from a team, Altahrim, ArtificialOwl and yemkareems and removed request for a team July 30, 2024 13:34
@blizzz blizzz mentioned this pull request Jul 30, 2024
$this->cache = null;
break;
}
if (!$this->nonMaskedStorage) {

Check notice

Code scanning / Psalm

DocblockTypeContradiction

Operand of type false is always falsy
$this->cache = null;
break;
}
if (!$this->nonMaskedStorage) {

Check notice

Code scanning / Psalm

DocblockTypeContradiction

Docblock-defined type OCP\Files\Storage\IStorage for $this->nonMaskedStorage is never falsy
@sorbaugh sorbaugh merged commit 5faa903 into master Aug 1, 2024
@sorbaugh sorbaugh deleted the try-non-recursive-source branch August 1, 2024 14:56
@icewind1991
Copy link
Member Author

/backport to stable29

@icewind1991
Copy link
Member Author

/backport to stable28

@icewind1991
Copy link
Member Author

/backport to stable27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants