Skip to content

fix: Repair invalid mountpoints to make partial mounts work#4658

Merged
provokateurin merged 1 commit intomasterfrom
fix/partial-mounts-invalid-mountpoint
May 5, 2026
Merged

fix: Repair invalid mountpoints to make partial mounts work#4658
provokateurin merged 1 commit intomasterfrom
fix/partial-mounts-invalid-mountpoint

Conversation

@provokateurin
Copy link
Copy Markdown
Member

In

$parts = explode('/', $mountProviderArg->mountInfo->getMountPoint());
we get a normalized path which may not match the stored mountpoint as queried in
$query->andWhere($query->expr()->in('f.mount_point', $query->createParameter('path')));
due to backslashes for example.

We already prevent creating new Team folders with invalid mountpoints, but we need to make sure that all existing mountpoints are fixed in order for the queries to work as intended.

Signed-off-by: provokateurin <kate@provokateurin.de>
@provokateurin provokateurin added bug 3. to review Items that need to be reviewed labels May 4, 2026
@provokateurin provokateurin merged commit 8de311b into master May 5, 2026
56 checks passed
@provokateurin provokateurin deleted the fix/partial-mounts-invalid-mountpoint branch May 5, 2026 08:10
@provokateurin
Copy link
Copy Markdown
Member Author

/backport to stable33

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

Labels

3. to review Items that need to be reviewed bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants