Project

General

Profile

Actions

Bug #92498

closed

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

Added by Daniel Goerz over 3 years ago. Updated over 3 years ago.

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

0%

Estimated time:
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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Daniel Goerz over 3 years ago

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

Updated by Daniel Goerz over 3 years ago

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

Updated by Daniel Goerz over 3 years ago

  • Status changed from New to Resolved
Actions #4

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF