Project

General

Profile

Actions

Bug #59473

closed

Inconsistent API for folders

Added by Steffen Ritter almost 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2015-05-25
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

if you have a Folder-object than you can call hasFolder($folderName)
Even if that returns TRUE getFolder($folderName) might fail.

this is due to inconsistent cleaning the identifier.


Subtasks 2 (0 open2 closed)

Bug #65305: Folder::getSubfolder() doesn't use the file drivers correctlyClosed2015-05-25

Actions
Task #67126: Make sure ProcessedFile and LocalImageProcessor use correct FAL APIClosed2015-05-25

Actions

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #59475: Folder Object is missing getFileClosedSteffen Ritter2014-06-11

Actions
Actions #1

Updated by Tymoteusz Motylewski almost 10 years ago

How to reproduce it:
$folder->createFolder("test2 space")

creates a folder with space converted to underscore, and returns folder object with identifier "test2_space".

then calling
$folder->hasFolder("test2_space")
returns true
but
$folder->hasFolder("test2 space")
returns false (and should be true as well)

also
$folder->getSubfolder("test2 space")
doesn't return the folder object

Actions #2

Updated by Gerrit Code Review almost 10 years ago

  • Status changed from Accepted to Under Review

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30654

Actions #3

Updated by Gerrit Code Review almost 10 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30654

Actions #4

Updated by Gerrit Code Review almost 10 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30654

Actions #5

Updated by Gerrit Code Review over 9 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/30654

Actions #6

Updated by Gerrit Code Review over 9 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/30654

Actions #7

Updated by Frans Saris about 9 years ago

  • Target version changed from next-patchlevel to 7.2 (Frontend)
  • TYPO3 Version changed from 6.2 to 7
Actions #8

Updated by Gerrit Code Review almost 9 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38479

Actions #9

Updated by Gerrit Code Review almost 9 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38479

Actions #10

Updated by Gerrit Code Review almost 9 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38479

Actions #11

Updated by Gerrit Code Review almost 9 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38479

Actions #12

Updated by Gerrit Code Review almost 9 years ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38479

Actions #13

Updated by Benni Mack almost 9 years ago

  • Target version changed from 7.2 (Frontend) to 7.4 (Backend)
Actions #14

Updated by Michael Oehlhof almost 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #15

Updated by Gerrit Code Review almost 9 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40487

Actions #16

Updated by Benni Mack almost 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #17

Updated by Gerrit Code Review almost 9 years ago

  • Status changed from Resolved to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40488

Actions #18

Updated by Benni Mack almost 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #19

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF