[Zope-CMF] DCWorkflow + CMF 1.3 bug :((

Gilles Lenfant gilles@pilotsystems.net
Fri, 16 Aug 2002 12:56:16 +0200


----- Original Message -----=20
From: "Chris Withers" <chrisw@nipltd.com>
To: "Gilles Lenfant" <gilles@pilotsystems.net>
Cc: <zope-cmf@zope.org>
Sent: Friday, August 16, 2002 11:11 AM
Subject: Re: [Zope-CMF] DCWorkflow + CMF 1.3 bug :((


> Gilles Lenfant wrote:
> >=20
> >>Gilles Lenfant wrote:
> >>
> >>>When testing the script in the workflow from the ZMI in a CMF 1.3, =
"context.someObject" works !!!!!
> >>
> >>How did you do this test?
> >=20
> > Clicking in the "test" tab of the Python script that's in the =
"scripts" folder of a DCWorkflow (as usual).
>=20
> Well, I'd expect that to work, sicne that jus texecutes the script in =
the=20
> context of its ZODb location.
>=20
> > Does DCWorflow (0.4.2 + CMF 1.3 + Zope 2.5.1 ) work for you ?
>=20
> Yes, but you have to remember that the context teh script executes in =
is=20
> different when it's used in a workflow that when you execute it from =
the test tab.

Chris,

I got the same problem with "container" which I use to locate global =
named objects from a DCworkflow script ! (works from a "test" tab but =
not from an user triggered workflow action)

"container" is supposed to give the ObjectManager object that contains =
the script (the "script" folderish object of the DCworkflow), or is it =
something else in that case.

Cheers,

--Gilles

>=20
> Chris