Bug #6092

Resources imported with importResource() are not published

Added by Robert Lemke over 5 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2010-01-19
Priority:Must have Due date:
Assigned To:Robert Lemke % Done:

100%

Category:Resource
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 7
PHP Version: Complexity:
Has patch: Affected Flow version:

Description

If i call the ResourceManager->importResource direct, the image stores in Data/Persistance/Resources/ but NOT in the public folder _Resouces/Persistent/. So i can't use it in the frontend

[...]
$imageModel = $this->objectFactory->create('F3\Tutorials\Domain\Model\Image');
$imageModel->setTitle('Test');
$imageModel->setOriginalResource($this->recourceManager->importResource('/Users/jk/Desktop/IMG_2474.jpg'));
[...]

if i use the way over the form upload in the frontend it works!

Associated revisions

Revision 5e7ebb43
Added by Robert Lemke over 5 years ago

[+BUGFIX] FLOW3 (Resource): Fixed a bug which resulted in resources which were imported by importResource() to not be published by the FileSystemPublishingTarget. Fixes #6092

History

#1 Updated by Robert Lemke over 5 years ago

reported by Julian Kleinhans

#2 Updated by Robert Lemke over 5 years ago

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

Applied in changeset r3682.

Also available in: Atom PDF