Skip to content

Conversation

@icewind1991
Copy link
Member

To test

  • starting with current master
  • create 2 groupfolders a and a/b, assigning a to user x and y and assigning a/b to user x
  • as user y create a folder b inside the a groupfolder
  • as both x and y upload different files into a/b and note that both users see different contents
  • apply this patch
  • as x, open a and see that it now contains both b and b (1)
  • as y, open a and see that b has been renamed to b (1)

@icewind1991 icewind1991 added the 3. to review Items that need to be reviewed label Mar 6, 2023
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

Tested & works

Can't say much about the code changes

[, $folderId, $relativePath] = explode('/', $conflictPath, 3);
$conflictsByFolder[(int)$folderId][] = $relativePath;
}
$paths = array_merge($paths, );
Copy link
Member

Choose a reason for hiding this comment

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

this doesn't seem right. otoh $paths isn't read anyway so it doesn't do any harm. but the variable can probably go.

Copy link
Member

Choose a reason for hiding this comment

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

@skjnldsv skjnldsv added 2. developing Items that are currently under development and removed 3. to review Items that need to be reviewed labels Aug 28, 2024
@skjnldsv skjnldsv marked this pull request as draft August 30, 2024 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Items that are currently under development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants