[BUGFIX] Fields of type file_reference are not properly indexed 48/24448/2
authorMartin Borer <mbarts@bluewin.ch>
Mon, 12 Aug 2013 10:44:46 +0000 (12:44 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Mon, 7 Oct 2013 10:43:33 +0000 (12:43 +0200)
commit8f1afaf35523ebd0f7dabb7b5099097d3237a460
tree8c12f7e44f31f69b0581949689bf5c93e7bab17d
parent98625aed1bbcbd5017df5d41b2cc6354b489d2e3
[BUGFIX] Fields of type file_reference are not properly indexed

sys_refindex entries for TCA-fields of type group->file_reference
are not correct. The fields ref_table and ref_uid are not filled.
This results in a wrong number of references in the Ref column of
the Filelist module and prevents a warning that a resource is still
in use when deleting it.

Resolves: #49538
Releases: 6.2, 6.1, 6.0
Change-Id: I1c44fc98b7ceefd6247ec372e5b28f8682a47bf1
Reviewed-on: https://review.typo3.org/24448
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/core/Classes/Database/ReferenceIndex.php