Project

General

Profile

Actions

Bug #53131

closed

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 over 10 years ago. Updated over 10 years ago.

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

0%

Estimated time:
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 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #52972: InvalidArgumentException in several casesClosed2013-10-19

Actions
Actions #1

Updated by Gone With the Wind over 10 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

Actions #2

Updated by Frans Saris over 10 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

Actions #3

Updated by Rene S. over 10 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

Actions #4

Updated by Philipp Gampe over 10 years ago

  • Complexity set to medium
  • Is Regression changed from No to Yes
Actions #5

Updated by Philipp Gampe over 10 years ago

  • Status changed from New to Accepted
Actions #6

Updated by Frans Saris over 10 years ago

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

Actions #7

Updated by Pascal Hinz over 10 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

Actions #8

Updated by Markus Klein over 10 years ago

  • Status changed from Accepted to Closed

Closing as duplicate

Actions

Also available in: Atom PDF