Uncaught TYPO3 Exception uid property is already set. Cannot merge index record. When running 'Migrate all file links of RTE-enabled fields to FAL' wizard
I run into the following exception while executing the RTE image wizard in the install tool
Uncaught TYPO3 Exception: #1321023156: uid property is already set. Cannot merge index record.
When it doen't find a existing record in ResourceFactory::getFileObjectByStorageAndIdentifier() it tries to create one. In that process there is a new record created (without tstamp and cdate set). And when trying to load the index info it finds this record and you get the exception.
Updated by Robert Wildling over 7 years ago
I have the same issue when trying to insert a picture in a content element of type "Images":
Uncaught TYPO3 Exception
uid property is already set. Cannot merge index record. (More information)
InvalidArgumentException thrown in file
/path/to/folder/typo3_src/typo3/sysext/core/Classes/Resource/File.php in line 221.
TYPO3 CMS 6.2 beta1
MAMP Pro 2.2
php 5.3.7 & php 5.4.19
Updated by Pascal Hinz over 7 years ago
I get the same Exception in different situations.
1) In the Install-Tool as described in this Tickets
2) Sometimes i get the Exception in the Frontend on the first request when i created a new Text Picture Content Element with a new Image
3) Also get the Exception in the language Modul in a fresh TYPO3 6.2 Beta1 installation as allready described in this Ticket #52972