[Zope] Zcatalog confusion

Martijn Pieters mj@antraciet.nl
Thu, 07 Oct 1999 17:17:52 +0200


At 15:49 07/10/99 , Michel Pelletier wrote:
>The reason for this error is because of the way python methods work.  In
>this case, you are using an *unbound* method, meaning a method that
>isn't bound to a particular object.  Try:
>
>         object.manage_editCataloger('newscatalog')
>
>Where 'object' is the CatalogAware object you want to change the
>Cataloger value on.  You could also do:
>
>         manage_editCataloger(object, 'newscatalog')
>
>-Michel

No Michel,

He is using the CVS version, remember the traceback said: 'Expected 3, got 
2', he needs to pass in REQUEST (I forgot this was a bug you fixed).

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------