Message2902
Got 2 errors when using roundup with Zope 2.8.5 (didn't test other releases) within 'ZRoundup.py'
The first bug was a missing method 'start_response', which i borrowed from 'roundup_server.py'
The second only appears when there are no items in FormWrapper, so iteration is not handled properly
With the followed patch against 'ZRoundup.py' roundup is now working in Zope2.8.5. I don't know whether this was the correct way to do this ...
70,74d69
< def start_response(self, headers, response):
< self.send_response(response)
< for key, value in headers:
< self.send_header(key, value)
< self.end_headers()
97,98d91
< def __iter__(self):
< return iter(self.__form)
|
|
Date |
User |
Action |
Args |
2009-02-03 14:23:15 | admin | link | issue1806125 messages |
2009-02-03 14:23:15 | admin | create | |
|