Bug #53131

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

Added by Frans Saris almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2013-10-25
Due date:
% Done:

0%

TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
medium
Is Regression:
Yes
Sprint Focus:

Description

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.


Related issues

Duplicates TYPO3 Core - Bug #52972: InvalidArgumentException in several cases Closed 2013-10-19

History

#1 Updated by Robert Wildling almost 6 years ago

I have the same issue when trying to insert a picture in a content element of type "Images":

Uncaught TYPO3 Exception
#1321023156:
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.

Enviroment:
TYPO3 CMS 6.2 beta1
MAMP Pro 2.2
php 5.3.7 & php 5.4.19
MySQL 5.5.33

#2 Updated by Frans Saris almost 6 years ago

Hi Robert,

Did you select a image that was already present in fileadmin, or did you upload a new image?

And have you run the fal indexer schedular task?

Gr. Frans

#3 Updated by Rene S. almost 6 years ago

Hello together,

the Install-Tool doesn't work if you use "Migrate all file relations from tt_content.image and pages.media" and so on.
We always get the message as shown in the bug openers posting.

Greetings Rene

#4 Updated by Philipp Gampe almost 6 years ago

  • Complexity set to medium
  • Is Regression changed from No to Yes

#5 Updated by Philipp Gampe almost 6 years ago

  • Status changed from New to Accepted

#6 Updated by Frans Saris almost 6 years ago

It also happens when you add a file directly (ftp/ssh/etc) to your fileadmin directory and than open the file module.

#7 Updated by Pascal Hinz almost 6 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

#8 Updated by Markus Klein almost 6 years ago

  • Status changed from Accepted to Closed

Closing as duplicate

Also available in: Atom PDF