[BUGFIX] Write references for FAL relations 57/38657/2
authorNicole Cordes <typo3@cordes.co>
Thu, 9 Apr 2015 16:07:37 +0000 (18:07 +0200)
committerNicole Cordes <typo3@cordes.co>
Mon, 13 Apr 2015 14:35:29 +0000 (16:35 +0200)
commit934e4e1e748b07aea80a8e330a6b76a6890a1727
tree37f410ac890f44a87fe684ca4bcb69aaf9d6ca60
parent225eb71f992235e099906cd4fa45159eb02daba3
[BUGFIX] Write references for FAL relations

Due to commit https://review.typo3.org/37086 no FAL relations for RTE
fields are added to sys_refindex. This patch removes the introduced
prevention of double indexes. Further more file relations are only added
if no softref is defined in the field configuration.

Resolves: #66243
Releases: master, 6.2
Change-Id: I19c6327ad13c299466737b564bf5069d4d6cb851
Reviewed-on: http://review.typo3.org/38657
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/core/Classes/Database/ReferenceIndex.php
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/impexp-group-file-and-file_reference-item-in-ff.xml
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent-with-image.xml
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent.xml
typo3/sysext/impexp/Tests/Functional/Import/GroupFileAndFileReferenceItemInFlexForm/DataSet/Assertion/importGroupFileAndFileReferenceItemInFlexForm.csv