[Zope] External method woes Zope 2.5.1 - no parameters being
passed into external method - works fine with a refresh
06 Jun 2002 12:13:32 -0400
Yes, this is a bug in Zope 2.5. It only happens the first time you call
the external method. It will be fixed in the first release of 2.6. It's
already fixed on the trunk.
On Thu, 2002-06-06 at 11:55, Sean McGrath wrote:
> I download a fresh Zope 2.5.1 for Windows.
> I create an external method "foo".
> def foo (self, REQUEST, RESPONSE):
> return "Hello World."
> I register it with id "foo".
> First invocation of /foo gives me:
> Error Type: TypeError
> Error Value: foo() takes exactly 3 arguments (0 given)
> I hit refresh and all is well!
> Occasionally but unpredictably, the problem
> re-occurs but disappears again for a while when I hit refresh.
> Browser is IE 6.
> Does this scenario ring any bells with anyone?
> Zope maillist - Zope@zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-dev )