Bug #6092

Resources imported with importResource() are not published

Added by Robert Lemke almost 10 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Must have
Assignee:
Category:
Resource
Start date:
2010-01-19
Due date:
% Done:

100%

PHP Version:
Has patch:
Complexity:

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 (diff)
Added by Robert Lemke almost 10 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 almost 10 years ago

reported by Julian Kleinhans

#2 Updated by Robert Lemke almost 10 years ago

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

Applied in changeset r3682.

Also available in: Atom PDF