Bug #30254

The ResourceStreamWrapper should also return the resource path for non-existing persistent resources

Added by Sebastian Kurfuerst almost 4 years ago. Updated almost 4 years ago.

Status:Resolved Start date:2011-09-24
Priority:Should have Due date:
Assigned To:Sebastian Kurfuerst % Done:

100%

Category:-
Target version:-
PHP Version: Complexity:
Has patch: Affected Flow version:

Description

For file upload, we need to make sure that the ResourceStreamWrapper also returns the path for a non-existing persistent resource; so one can do:

file_put_contents('resource://2908293473.....3434', 'Some resource content');

We need that for TYPO3 Image uploads to work.

Associated revisions

Revision c0319226
Added by Sebastian Kurfuerst almost 4 years ago

[BUGFIX] Allow file creation through ResourceStreamWrapper

For file creation, we need to make sure that the ResourceStreamWrapper
also returns the path for a non-existing persistent resource.

We need that e.g. for TYPO3 image uploads to work.

Change-Id: I6b98a9da29ee155bed80177fff3a17a8b35a8be9
Resolves: #30254

History

#1 Updated by Sebastian Kurfuerst almost 4 years ago

  • Status changed from New to Accepted
  • Assigned To set to Sebastian Kurfuerst

#2 Updated by Mr. Hudson almost 4 years ago

  • Status changed from Accepted to Under Review

Patch set 1 of change I6b98a9da29ee155bed80177fff3a17a8b35a8be9 has been pushed to the review server.
It is available at http://review.typo3.org/5276

#3 Updated by Mr. Hudson almost 4 years ago

Patch set 2 of change I6b98a9da29ee155bed80177fff3a17a8b35a8be9 has been pushed to the review server.
It is available at http://review.typo3.org/5276

#4 Updated by Sebastian Kurfuerst almost 4 years ago

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

Also available in: Atom PDF