CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #37269

ListView shows both orginal & translated version of each record

Added by Sengchheang Chhun about 1 year ago. Updated 11 months ago.

Status:New Start date:2012-05-18
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Votes: 0

Description

I tried 2 different websites (TYPO3 v4.6.7, v4.6.8) that have multiple languages and I got the same error.
I didn't customize anything beside setting the storage page and set listview/show in the plugin.

Do I miss configure anything? Or is it a bug?

Regards,
Sengchheang

cz_simple_cal-37269.patch (3.6 kB) Joh. Feustel, 2012-07-06 15:06

History

Updated by Joh. Feustel 11 months ago

Thx Sengchheang for providing the attached path.

we fixed existing broken event index objects with following sql:

# update sys_language_uid of eventIndex table 
UPDATE tx_czsimplecal_domain_model_eventindex eventIndex
INNER JOIN tx_czsimplecal_domain_model_event event
ON eventIndex.event = event.uid
SET eventIndex.sys_language_uid = event.sys_language_uid
WHERE event.sys_language_uid > 0;

# update l18n_parent of eventIndex table 
UPDATE tx_czsimplecal_domain_model_eventindex eventIndex
JOIN tx_czsimplecal_domain_model_event event
ON eventIndex.event = event.uid
JOIN tx_czsimplecal_domain_model_event Pevent
ON Pevent.uid = event.l18n_parent
JOIN tx_czsimplecal_domain_model_eventindex PeventIndex
ON PeventIndex.event = Pevent.uid
SET eventIndex.l18n_parent = PeventIndex.uid
WHERE event.sys_language_uid > 0

Also available in: Atom PDF