[BUGFIX] Fields of type group file are not properly indexed 95/28795/2
authorMarc Bastian Heinrichs <typo3@mbh-software.de>
Mon, 3 Feb 2014 22:52:43 +0000 (23:52 +0100)
committerMarc Bastian Heinrichs <typo3@mbh-software.de>
Tue, 15 Apr 2014 08:08:29 +0000 (10:08 +0200)
commit1dbfe75e3b3b270a7a15f2f5fe13dacafff5b552
treeca4da4f7d453c2bda119a7680b251099d696c55a
parentb22b39dc5907118df605fcd2a182802a26e03a03
[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/28795
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
typo3/sysext/core/Classes/Database/ReferenceIndex.php