Bug #43101
closedFile relations are broken for import. in IMAGE cObject
100%
Description
While trying to show an image link in pages/media I recognised FAL can't handle relations in IMAGE / file.import
I debugged it and found out, that in the field pages/media the uid of the reference relation is stored while FAL tries to load the image with that uid (ContentObjectRenderer::getImgResource)
Line 5041 should maybe turned into
$fileObject = \TYPO3\CMS\Core\Resource\ResourceFactory::getInstance()->getFileReferenceObject($file)->getOriginalFile();
IMHO this drops the functionality to insert files without any relation. So maybe it would be better to introduce a new TS property (isReference = 1) and handle that correctly.
Updated by Andreas Wolf about 12 years ago
- Category set to File Abstraction Layer (FAL)
- Status changed from New to Accepted
Updated by Andreas Wolf about 12 years ago
- Subject changed from FAL doesn't handle .import functionality to File relations are broken for import. in IMAGE cObject
Updated by Gerrit Code Review about 12 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16584
Updated by Gerrit Code Review about 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16584
Updated by Gerrit Code Review about 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16584
Updated by Gerrit Code Review almost 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16584
Updated by Gerrit Code Review almost 12 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16584
Updated by Gerrit Code Review almost 12 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16584
Updated by Gerrit Code Review almost 12 years ago
Patch set 7 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16584
Updated by Nicole Cordes almost 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3903ee02f6bd663fc1ef23f14d936407724887ab.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed