[Zope-CMF] Copy/Paste Workflow Bug?
Tres Seaver
tseaver@zope.com
18 Jul 2002 13:21:58 -0400
On Thu, 2002-07-18 at 13:16, Sidnei da Silva wrote:
> On Quinta 18 Julho 2002 13:14, Tres Seaver wrote:
> |
> | "Copy + paste" creates a "new" object, which does not retain the
> | workflow history of the source object. "Cut + paste" moves the object,
> | and shouldn't therefore wipe out its history (it used to add a new
> | "initial" state record to the history, by accident; we fixed that since
> | 1.2).
> |
> | If you really want copied items to be in the same workflow state as the
> | source object, then you will likely need to customize the 'folder_paste'
> | skin method to achieve this, perhaps by calling an external method.
> |
> | Tres.
>
> Is this considered a *feature*? Why would anyone want to copy the object and
> loose the workflow state?
It is a *new* object, which (potentially) requires review under its new
name / location. Imagine copying an article from the "Your Health"
section into the "You and the Law" section; the reviewer in the new
section needs to approve the content *for that section* before it can be
viewed.
Tres.
--
===============================================================
Tres Seaver tseaver@zope.com
Zope Corporation "Zope Dealers" http://www.zope.com