Skip to content

Conversation

@ChristophWurst
Copy link
Member

Ref #15664

This does not check quota as I do not have a clue how to do this. But it checks the returned value of the move operation. Better than nothing.

if ($this->transfer($output) === false) {
$output->writeln('<error>Could not transfer files</error>');
// Abort
return 1;
Copy link
Member

Choose a reason for hiding this comment

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

Is the real error logged?

Copy link
Member Author

Choose a reason for hiding this comment

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

Couldn't find out. Some exceptions are thrown, some are caught.

Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe a storage export like @icewind1991 or @rullzer can tell?

Copy link
Member

Choose a reason for hiding this comment

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

I guess here it is not possible...

@rullzer
Copy link
Member

rullzer commented Nov 27, 2019

I guess this needs a rebase then 😉

@ChristophWurst ChristophWurst force-pushed the fix/transfer-ownership-move-files-error-handling branch from b3cd39a to 70f4e7e Compare November 27, 2019 08:21
@ChristophWurst
Copy link
Member Author

I guess this needs a rebase then wink

Done. So much cleaner now :)

@rullzer
Copy link
Member

rullzer commented Nov 27, 2019

Review time!

@rullzer rullzer merged commit 50985e5 into master Dec 4, 2019
@rullzer rullzer deleted the fix/transfer-ownership-move-files-error-handling branch December 4, 2019 12:53
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants