Bug #92498

Behavior of LocalDriver->isFolderEmpty() changed unintendedly for invalid paths

Added by Daniel Goerz 20 days ago. Updated 20 days ago.

Status:
New
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2020-10-07
Due date:
% Done:

0%

TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Yes
Sprint Focus:

Description

With #92264 the Behavior of the public function LocalDriver->isFolderEmpty() has been changed.
As this was an unintended change in behavior it should be corrected.

Reproduce:
  • Pass a path to a nonexisting folder to the function
  • function returns false

Before the patch it returned true


Related issues

Related to TYPO3 Core - Task #92264: Fix phpstan checkFunctionArgumentTypes errors in ext:core Resource Resolved 2020-09-10

History

#1 Updated by Daniel Goerz 20 days ago

  • Subject changed from Bahavior of LocalDriver->isFolderEmpty() changed unintendedly for invalid paths to Behavior of LocalDriver->isFolderEmpty() changed unintendedly for invalid paths

#2 Updated by Daniel Goerz 20 days ago

  • Related to Task #92264: Fix phpstan checkFunctionArgumentTypes errors in ext:core Resource added

Also available in: Atom PDF