Project

General

Profile

Actions

Bug #18781

closed

field tablename in sys_refindex too short

Added by Vladimir Podkovanov almost 16 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2008-05-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When I'm using intermediate table in IRRE relations
I'm getting such error

caller t3lib_DB::exec_INSERTquery

ERROR Duplicate entry '77e032659be3cf41758181f06f337bd3' for key 1

lastBuiltQuery INSERT INTO sys_refindex
(
tablename,
recuid,
field,
flexpointer,
softref_key,
softref_id,
sorting,
deleted,
ref_table,
ref_uid,
ref_string,
hash
) VALUES (
'tx_sfterminals_person_attrcat_rel_attr_rel',
'26',
'attr_id',
'',
'',
'',
'0',
'0',
'tx_sfterminals_attr',
'16',
'',
'77e032659be3cf41758181f06f337bd3'
)

I've traced that to the fact that table name tx_sfterminals_person_attrcat_rel_attr_rel doesn't fit into field in sys_refindex and this cause wrong handling of ref index so duplication error occures. If the field enlarged there is no error.

(issue imported from #M8399)


Files

8399.diff (840 Bytes) 8399.diff Administrator Admin, 2008-05-14 12:32

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #20867: Table sys_refindex / KEY lookup_string not UTF-8 compatibleClosedRupert Germann2009-08-12

Actions
Actions

Also available in: Atom PDF