[TYPO3-core] RFC #2314 - moving records doesn't move translations
Rupert Germann
rupi at gmx.li
Fri Jul 31 00:55:22 CEST 2009
hi Tolleiv,
wow that's an old one!
moving localized records in live workspace works as advertised: the
localisations are moved with the record.
but there seems to be a problem with moving records in workspaces (draft
workspace in my tests)
I have a page (A) with 2 lang overlays and a content element with 2
translations. Now I switch to draft ws and I move this content element
to another page (B).
this page shows 5 rows in the listview instead of the expected 3.
Actually there are only 3 records, the problem is that the 2
localisations are displayed twice: once as placeholder and once as
localisation.
can anyone else reproduce this?
greets
rupert
Tolleiv Nietsch schrieb:
> This is an SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=2314 (and some others)
>
> Branches:
> trunk
>
> Problem:
> Whenever you're moving around records between pages with the cut&paste
> function the localization-overlays won't be moved and they'll stay on
> the old page.
>
> Solution:
> The attached patch just adds a post-processing of these records and
> moves them aswell. The l10n-records are passed through the whole
> moveRecord-function aswell to make sure that workspace-operations and
> hooks are performed for these records as well.
>
>
> Notes:
> If the move-operation happened within a Workspace we've to keep the
> value of the l18n_parent field during publishing - otherwise the
> relation between overlay and it's parent within the LIVE-Workspace will
> be lost after the publishing.
>
> There's a related bug which happens whenever you copy elements with
> overlays - I'd prefer to consider this as a different bug since copying
> is handled separately from moving records - please don't mix it up.
>
> The bug has been around far too long and it would be really great to get
> rid of it since this really confuses people in their daily work. I'm
> open to your comments and questions.
>
> Best regards,
> Tolleiv
>
More information about the TYPO3-team-core
mailing list