Skip to content

[stable25] fix: don't emit Hooks when hookpaths are empty - #39936

Merged
nickvergessen merged 1 commit into
stable25from
fix/stable25/transfer-ownership
Aug 28, 2023
Merged

[stable25] fix: don't emit Hooks when hookpaths are empty#39936
nickvergessen merged 1 commit into
stable25from
fix/stable25/transfer-ownership

Conversation

@miaulalala

Copy link
Copy Markdown
Contributor

Manual backport of #39481

@miaulalalamiaulalala added the 3. to review Waiting for reviews label Aug 17, 2023
@miaulalala
miaulalala requested a review from a teamAugust 17, 2023 13:10
@miaulalalamiaulalala self-assigned this Aug 17, 2023
@miaulalala
miaulalala requested review from ArtificialOwl, blizzz and nfebe and removed request for a teamAugust 17, 2023 13:10
@miaulalalamiaulalala changed the title fix: don't emit Hooks when hookpaths are empty[stable25] fix: don't emit Hooks when hookpaths are emptyAug 17, 2023
@miaulalala

Copy link
Copy Markdown
ContributorAuthor

linter is giving me 905 files lol

@solracsfsolracsf added this to the Nextcloud 25.0.11 milestone Aug 17, 2023
@miaulalala

Copy link
Copy Markdown
ContributorAuthor

Failing test is unrelated (acceptance-users) :

--- Failed scenarios:
229 | 230 | /drone/src/tests/acceptance/features/users.feature:25
231

@miaulalalamiaulalala added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Aug 21, 2023
@miaulalala
miaulalalaforce-pushed the fix/stable25/transfer-ownership branch from f89b6bd to e84230fCompareAugust 21, 2023 07:20
@max-nextcloud

max-nextcloud commented Aug 28, 2023

Copy link
Copy Markdown
Contributor

php-cs check passed for another PR (#40008) - so i will try and rebase this so it runs again.

@max-nextcloud
max-nextcloudforce-pushed the fix/stable25/transfer-ownership branch from e84230f to 8d0047fCompareAugust 28, 2023 09:07
Comment threadlib/private/Files/View.php Outdated
Comment on lines +822 to +833
// moving a file/folder within the same mount point
// moving a file/folder within the same mount point
} elseif ($storage1 === $storage2) {
if ($storage1) {
$result = $storage1->rename($internalPath1, $internalPath2);
} else {
$result = false;
}
// moving a file/folder between storages (from $storage1 to $storage2)
// moving a file/folder between storages (from $storage1 to $storage2)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks like the linter does not like this.
I'll move the comments into the respective block.

Signed-off-by: Anna Larch <anna@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
@max-nextcloud
max-nextcloudforce-pushed the fix/stable25/transfer-ownership branch from 8d0047f to 1e957b5CompareAugust 28, 2023 09:45
@miaulalala

Copy link
Copy Markdown
ContributorAuthor

Thanks @max-nextcloud !!!

Drone failure unrelated:

--- Failed scenarios:
--
229 | 230 | /drone/src/tests/acceptance/features/users.feature:25

@max-nextcloud

Copy link
Copy Markdown
Contributor

Now if only someone could merge this despite the failing CI
@ChristophWurst@juliushaertl

🥺

😉

@nickvergessen
nickvergessen merged commit 9ea2d7c into stable25Aug 28, 2023
@nickvergessen
nickvergessen deleted the fix/stable25/transfer-ownership branch August 28, 2023 11:38
@blizzzblizzz mentioned this pull request Sep 5, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finish25-feedbackbug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants

@miaulalala@max-nextcloud@icewind1991@nickvergessen@solracsf