[TYPO3-workspace] How to best solve a long-standing bug with versions and the Web > List view
François Suter
fsu-lists at cobweb.ch
Tue Mar 1 16:39:59 CET 2011
Hi all,
I stumbled upon a long-standing bug related to the Web > List module and
the versions/workspaces and I would like to discuss possible solutions
before working out a patch. Here's an example scenario:
- modify a content element (for example, its title) => this creates a
version
- click the delete icon in Web > List view and say ok => the version has
been deleted, but the record is still here
In other words, the deletion - in this case - is equivalent to
discarding the changes.
I don't think that this is a proper behavior. I would expect the delete
command to supersede any changes and really mark the element for
deletion. OTOH we could also issue an error message to the effect that
the element has been modified and cannot be deleted before changes are
discarded.
What do you think?
Note: the same happens when trying to delete from the docheader while
editing the element.
In general I am unsure about how the workspaces/version sysexts are
expected to work with the Web > List module.
As an aside, deleting a record in a workspace seems not to work, but
that's because the list module does not display it as deleted anymore.
It's a separate issue, which I will report (as fas as I could tell it
was not reported yet).
And there's also a bug about hiding/unhiding, which has a patch pending
in the core list (see http://bugs.typo3.org/view.php?id=11303).
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-team-workspace
mailing list