[BUGFIX] IMG_RESOURCE not capable of sys_file_reference
authorNicole Cordes <nicole@cordes.co>
Mon, 19 Nov 2012 22:15:43 +0000 (23:15 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Mon, 26 Nov 2012 23:46:15 +0000 (00:46 +0100)
commit3903ee02f6bd663fc1ef23f14d936407724887ab
treec9064b3462c229032c9399875a4838d47e52ec9f
parentbccab08e3e7ae399f350a2a2d7da2ec1c8b1bc6b
[BUGFIX] IMG_RESOURCE not capable of sys_file_reference

The file.import function can't handle file relations. Sometimes
you have to deal with uids of sys_file_references instead of
sys_file uids. One prominent case is import.data = levelmedia
This patch adds an flag to IMG_RESOURCE with that, a given uid
is interpreted as reference instead of file uid.

Change-Id: I4699d9e38b9a809fd194d33344678a64168d4300
Fixes: #43101
Releases: 6.0
Documentation: #43283
Reviewed-on: http://review.typo3.org/16584
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Stefan Neufeind
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php