[Zope-CMF] Re: CMFImageDoc broken in CMF 1.2?
Harry Wilkinson
harryw@nipltd.com
Thu, 10 Jan 2002 17:20:07 +0000
Ulrich, was that a patch for version 0.9.2? Your patch seems to contain line
numbers that are 2 less than those I have, and the last change I made to
ImageDoc.py added two lines, which suggests maybe you are using an old
version?
Thanks for the patch anyway, I've applied it and updated some of the docs and
(most importantly) put your name in the credits :) Thanks a lot for your
help.
The new version, 0.9.3, is now available at:
http://www.zope.org/Members/NIP/CMFImageDocument
Cheers.
HarryW
On Thursday 10 January 2002 8:57 am, Ulrich Eck wrote:
> Hi there,
>
> i tried CMFImageDoc yesterday and fixed this problem.
>
> I have attached a little patch
>
> hope this helps
>
> >> The Edit method seems to be broken with CMF 1.2b. When I click Change on
> >> the edit form I get a Type Error, ending with -
> >>
> >> File Script (Python), line 9, in ImageDoc_edit
> >> File C:\Program
> >> Files\zope25\lib\python\Products\CMFCore\WorkflowCore.py, line 88, in
> >> __call__
> >> (Object: edit)
> >> File C:\Program
> >> Files\zope25\lib\python\Products\CMFCore\WorkflowTool.py, line 461, in
> >> wrapWorkflowMethod
> >> (Object: portal_workflow)
> >> File C:\Program
> >> Files\zope25\lib\python\Products\CMFImageDoc\ImageDoc.py, line 94, in
> >> _edit
> >> (Object: testimagedoc)
> >> TypeError: _edit() takes at most 4 arguments (5 given)
>
> hope this helps
>
> Ulrich Eck
> ---------------------------------------------------------------------------
> net-labs Systemhaus GmbH
> Ebersberger Str. 46
> 85570 Markt Schwaben
> fon: +49-8121-4747-11
> fax: +49-8121-4747-77
> email: ueck@net-labs.de
> http://www.net-labs.de