Project

General

Profile

Actions

Bug #23739

closed

Translation Diff not working for child pages

Added by Tomita Militaru about 14 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-10-15
Due date:
% Done:

0%

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

Description

I've created a page with a child page. I've translated the child page in German.
Now if you go to the child page default and change the page title, on the child page German, the diff is green and doesn't mark that a modification was made to the default page title.

If done the same thing on the parent page, the modification is correctly marked with red.

This happens also on TYPO3 4.2.10, I've tested both.

(issue imported from #M16003)


Files

bug_16003.patch (1004 Bytes) bug_16003.patch Administrator Admin, 2011-01-12 15:51
Actions #1

Updated by Jigal van Hemert almost 14 years ago

Can you look in the database at the corresponding record in pages_language_overlay in the column l18n_diffsource? In my trunk installation it seems to hold only empty values in the serialized array:

a:14:{s:6:"hidden";N;s:5:"title";N;s:8:"subtitle";N;s:9:"nav_title";N;s:6:"author";N;s:12:"author_email";N;s:8:"abstract";N;s:8:"keywords";N;s:11:"description";N;s:5:"media";N;s:9:"starttime";N;s:7:"endtime";N;s:7:"doktype";N;s:16:"sys_language_uid";N;}

Actions #2

Updated by Tomita Militaru almost 14 years ago

Here is my content:
a:13: {s:6:"hidden";N;s:5:"title";N;s:8:"subtitle";N;s:9:"nav_title";N;s:8:"abstract";N;s:6:"author";N;s:12:"author_email";N;s:8:"keywords";N;s:11:"description";N;s:5:"media";N;s:9:"starttime";N;s:7:"endtime";N;s:16:"sys_language_uid";N;}

Actions #3

Updated by Tomita Militaru almost 14 years ago

I've installed the extension gl_transstat and it seems the extension detects the changes correctly.

Actions #4

Updated by Tomita Militaru almost 14 years ago

Issue appears only on first change on the default language, second modification to the default language is detected in the child pages.
Can anyone confirm this?

Actions #5

Updated by Tomita Militaru almost 14 years ago

Tested on TYPO3 4.2.10 & 4.4.4

Actions #6

Updated by Tomita Militaru almost 14 years ago

Tested on TYPO3 4.3.2, same issue.

Actions #7

Updated by Tomita Militaru almost 14 years ago

Attached possible patch.

Actions #8

Updated by Alexander Opitz over 10 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • TYPO3 Version changed from 4.4 to 4.2
  • Is Regression set to No

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.3)?

Actions #9

Updated by Tomita Militaru over 10 years ago

I just tried it in TYPO3 6.1 and it seems it's fixed now. Oddly, when I try in TYPO3 6.2 to make a new Website Language to reproduce the bug, I get a blank page with error in log:

Core: Error handler (BE): PHP Catchable Fatal Error: Argument 1 passed to TYPO3\CMS\Extbase\Persistence\Repository::__construct() must implement interface TYPO3\CMS\Extbase\Object\ObjectManagerInterface, none given, called in /home/user/Development/typo3_cores/typo3_src-6.2.3/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 4366 and defined in /home/user/Development/typo3_cores/typo3_src-6.2.3/typo3/sysext/extbase/Classes/Persistence/Repository.php line 89

I can't test at the moment in 6.2.3 because of that error.

Actions #10

Updated by Alexander Opitz over 10 years ago

Which PHP Version are you using? Does this error occurs also on other actions?

Actions #11

Updated by Tomita Militaru over 10 years ago

PHP Version 5.5.9-1ubuntu4
I've tried to create other type of records, but I didn't have that problem with neither.

Actions #12

Updated by Alexander Opitz over 10 years ago

Ok, PHP Version should be ok.

As I don't have an issue there, and nobody reported one yet. Is this a clean TYPO3 6.2.3 install or did you upgrade a previous installation?
Can you try to clear your opcode cache and the TYPO3 caches from the Installer?

Actions #13

Updated by Tomita Militaru over 10 years ago

I don't have opcache & I tried to clear all caches (also from Install Tool).
This instance was alpha -> beta -> stable, so kinda clean install, might that be a problem though.

I will try later on a fresh install.

Actions #14

Updated by Alexander Opitz over 10 years ago

Yes, please try it with a fresh install, maybe something went wrong for you. If the issue persists open a new issue report.

Actions #15

Updated by Alexander Opitz about 10 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF