Bug #8156

ResourceStreamWrapper no longer able to handle non-existent files

Added by Karsten Dambekalns about 5 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2010-06-10
Priority:Must have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Resource
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 10 Estimated time:2.00 hours
PHP Version: Complexity:
Has patch: Affected Flow version:

Description

The ResourceStreamWrapper no longer works when trying to use it to create files or directories. This is because evaluateResourcePath() checks the resolved path for existence before returning it.

This obviously does not work for a directory or file that is about to be created.

This breaks e.g. the Kickstarter.

Associated revisions

Revision b0a70ee1
Added by Karsten Dambekalns about 5 years ago

[+BUGFIX] FLOW3 (Resource): The ResourceStreamWrapper now handles non-existent paths correctly in makeDirectory() and open(), fixes #8156.

History

#1 Updated by Karsten Dambekalns about 5 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r4491.

Also available in: Atom PDF