[BUGFIX] Fields of type group file are not properly indexed 10/27310/10
authorMarc Bastian Heinrichs <typo3@mbh-software.de>
Mon, 3 Feb 2014 22:52:43 +0000 (23:52 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Mon, 17 Mar 2014 20:43:35 +0000 (21:43 +0100)
commit53c6adc83be0e088c5837c86d7c7fc62f3e511c6
treee1406bcd13fc1b0305c7e93daf53e8803b629454
parent6e987e1b57fffbc910b47469b4a4a012c9182905
[BUGFIX] Fields of type group file are not properly indexed

If an record with a field of type "group", internal_type "file"
should be indexed in the ReferenceIndex an SQL error exception
gets thrown. So the relation to the file isn't represented in the
refindex. Thus those files are also missing in exports created
with system extension impexp.

This is caused by wrong array keys and incorrectly storing a file
relation as DB relation since merge of FAL.

Resolves: #56353
Resolves: #56352
Releases: 6.2, 6.1, 6.0
Change-Id: I78211efcb6bf3032811ef0b0e20ed7f98f9fa8fb
Reviewed-on: https://review.typo3.org/27310
Tested-by: Sebastian Fischer
Tested-by: Christian Zenker
Reviewed-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/core/Classes/Database/ReferenceIndex.php