[Zope-CMF] Wokflow and roles question
Florent Guillaume
fg@nuxeo.com
06 Aug 2002 15:30:22 +0200
Ok, this should be fixed now.
Florent
On Tue, 2002-08-06 at 04:47, John Morton wrote:
> On Mon, 22 Jul 2002 01:28, Florent Guillaume wrote:
> > In article <20020719060045.87A6A14421@registry.e-servicesltd.co.nz> you write:
> > > (Warning: I upgraded from 0.4.2 to this CVS version and it broke the
> > > worklists in my existing workflows. I don't know if there is a more
> > > recent patch.)
> >
> > I can't reproduce these upgrade problems. I checked in something that
> > takes care of upgrading from a string that was stored as unicode, but
> > I doubt that was the problem.
> >
> > Can you elaborate on what the problem was?
>
> Righty. I grabbed DCWorkflow from CVS last night - the latest version, and
> the one before the worklist changes. When I install the latest, then access
> the worklist tab of one of my existing workflows I get this error and traceback:
>
> Error Type: InError
> Error Value: Strings are not allowed as input to the in tag.
>
> Traceback (innermost last):
> File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 150, in publish_module
> File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 114, in publish
> File /usr/lib/zope/lib/python/Zope/__init__.py, line 158, in zpublisher_exception_hook
> (Object: worklists)
> File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 98, in publish
> File /usr/lib/zope/lib/python/ZPublisher/mapply.py, line 88, in mapply
> (Object: manage_main)
> File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 39, in call_object
> (Object: manage_main)
> File /var/lib/zope/Products/DCWorkflow/Worklists.py, line 154, in manage_main
> (Object: worklists)
> File /usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py, line 252, in __call__
> (Object: _manage_worklists)
> File /usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py, line 283, in _bindAndExec
> (Object: _manage_worklists)
> File /usr/lib/zope/lib/python/App/special_dtml.py, line 172, in _exec
> (Object: _manage_worklists)
> File /usr/lib/zope/lib/python/DocumentTemplate/DT_In.py, line 695, in renderwob
> (Object: values)
> File /usr/lib/zope/lib/python/DocumentTemplate/DT_In.py, line 695, in renderwob
> (Object: var_matches.items())
> File /usr/lib/zope/lib/python/DocumentTemplate/DT_In.py, line 628, in renderwob
> (Object: sequence-item)
> InError: (see above)
>
>
> System details:
>
> Zope Version: (Zope 2.5.0 (source release, python 2.1, linux2), python 2.1.2, linux2)
> Python Version: 2.1.2 (#1, Jan 18 2002, 18:05:45) [GCC 2.95.4 (Debian prerelease)]
> System Platform: linux2
>
> When I switched back to the older version, everything worked nicely. Might be due
> to the slightly old version of zope, I guess. I'll probably route round the damage by
> deleting the worklists from my existing workflows, upgrading, then recreating them, but
> obviously the punters will want it to just work for the final release.
>
> Thanks,
> John
>
--
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com