Commit c0a17cef authored by Vincent Pelletier's avatar Vincent Pelletier

PATH_INFO must be in request's "environ" property.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20941 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 158a7943
......@@ -826,7 +826,7 @@ class ActivityTool (Folder, UniqueObject):
# XXX: itools (used by iHotfix) requires PATH_INFO to be set, and it's
# not when runing unit tests. Recreate it if it does not exist.
if request.environ.get('PATH_INFO') is None:
request['PATH_INFO'] = '/Control_Panel/timer_service/process_timer'
request.environ['PATH_INFO'] = '/Control_Panel/timer_service/process_timer'
# restore request information
new_request = request.clone()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment