Message4554
in roundup/cgi/actions.py
raise exceptions.NotFound(msg) should give the msg to the web browser.
It does not with 4624:21705126dafa (pre 1.4.20).
Should be fixed and then the following code needs to be replaced:
# check if all columns exist on class
# the exception must be raised before sending header
props = klass.getprops()
for cname in columns:
if cname not in props:
# TODO raise exceptions.NotFound(.....) does not give
message
# so using SeriousError instead
self.client.response_code = 404
raise exceptions.SeriousError(
self._('Column "%(column)s" not found on
%(class)s')
% {'column': cgi.escape(cname), 'class':
request.classname})
in roundup/cgi/actions.py to use NotFound(). |
|
Date |
User |
Action |
Args |
2012-05-14 15:51:52 | ber | set | recipients:
+ ber |
2012-05-14 15:51:52 | ber | set | messageid: <1337010712.76.0.937498332026.issue2550755@psf.upfronthosting.co.za> |
2012-05-14 15:51:52 | ber | link | issue2550755 messages |
2012-05-14 15:51:52 | ber | create | |
|