Roundup Tracker - Issues

Message4948

Author grisha
Recipients ber, grisha
Date 2013-11-12.17:52:57
Message-id <1384278778.63.0.491262004149.issue2550821@psf.upfronthosting.co.za>
In-reply-to
Reproduce: 

Install Roundup with mod_python 3.4.1 or later, and you will get:
File "/usr/lib/python2.6/site-packages/roundup/cgi/client.py", line
1211, in write_html
if self.env['REQUEST_METHOD'] == 'HEAD':
KeyError: 'REQUEST_METHOD'

The fix:

--- roundup//cgi/apache.py~     2013-03-28 05:50:18.000000000 -0400
+++ roundup/cgi/apache.py       2013-11-12 12:51:25.227114199 -0500
@@ -119,6 +119,7 @@
                 __tracker_cache_lock.release()
     # create environment
     # Note: cookies are read from HTTP variables, so we need all HTTP vars
+    req.add_cgi_vars()
     req.add_common_vars()
     _env = dict(req.subprocess_env)
     # XXX classname must be the first item in PATH_INFO.  roundup.cgi does:
History
Date User Action Args
2013-11-12 17:52:58grishasetmessageid: <1384278778.63.0.491262004149.issue2550821@psf.upfronthosting.co.za>
2013-11-12 17:52:58grishasetrecipients: + grisha, ber
2013-11-12 17:52:58grishalinkissue2550821 messages
2013-11-12 17:52:57grishacreate