[BUGFIX] Write references for FAL relations 98/38598/4
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 13:35:28 +0000 (15:35 +0200)
commit7c0304a2861bf272b3bd599400aeb5dbd95211ec
treed44a72ccb620507817f061e6339e0a82d23318a9
parent520ae7290a58f07bff4842449b682acf6bd43ebd
[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/38598
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
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-but-not-included.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