[TYPO3-dev] #539 - Delete (Copy / Move) localized records
Tolleiv.Nietsch
info at tolleiv.de
Sun Aug 9 18:03:45 CEST 2009
Hi,
I wanted to offer my help regarding the (very) old problems within the
copy / move / delete operations in TCEmain for localized versions of
records.
I already provided a patch for #2314 (moving records with L10n-records)
but in regards to handle delete and copy actions it's a bit more
complicated and before I start spending time on that I'd like to get
some input/confirmation from some of the Core members.
So the basic "problem" is that whenever someone performs an action
(copy,move,delete) TCEmain doesn't update the related l10n-records. The
result is that the localizations are either "lost" because their parent
record is missing in some way, or the system is messed up because
l10n-records are not deleted.
The "solution" sounds easy - just perform the same action with the
l10n-records - but it isn't that easy because:
1) The user might not have the right to modify the other languages
2) The user might not want to perform the action (especially Copy) for
the l10n-records
Suggestions:
Deleting and moving records is really "easy" because the l10n-records
are useless without their parent anyways and therefore we could just
perform the actions for all the l10n-records too. If the user has no
right to do this then it's not a problem because we could just leave the
"useless" l10n-records in place and wait for a system-cleanup
(lowlevel-cleaner) to carry them away.
For the Copy-mode I'd suggest to either - provide an additional "Copy
with L10n-records" mode (side-by-side with the normal Copy-mode) or to
provide a TSConfig setting where the behavior can be configured.
Other concerns:
In #539 Uschi brought up that it might be a problem if the new page
doesn't provide all languages. Imho that's no "real" problem because if
we would just leave this single record behind then it would be lost
anyways and if we just copy it over to the new page there's a chance
that the content is used again as soon as someone creates the
page_language_overlay record for that language.
Overall the user might just not be aware of the l10n-records and
therefore he might mess up content in other languages by mistake. Imho
this can't be solved within TCEmain - but as soon as the technical base
is working the GUI should also be improved so that users get some
informations whenever more than one record is updated.
Looking forward to get some feedback - do you agree to my proposed
solutions or how would just resolve them? These issues are very old,
they cause lot's of confusion and especially in regards to have a clean
system I hope to get rid of them soon :)
Regards,
Tolleiv
-------------------------------------------------
bugs.typo3.org references:
http://bugs.typo3.org/view.php?id=539 (delete issues)
http://bugs.typo3.org/view.php?id=2314 (move issues)
http://bugs.typo3.org/view.php?id=9566 (copy issues)
there are also lot's of related issues (very often people's complains
where posted in relation to TemplaVoila e.g. #2314 I guess because with
TV it's not that obvious that localizations are also organized as records)
---
www.tolleiv.de
More information about the TYPO3-dev
mailing list