← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 722264] Re: modwsgi in daemon mode causes ajax load to hang

 

** Tags added: wsgi

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/722264

Title:
  modwsgi in daemon mode causes ajax load to hang

Status in OpenERP Web Client:
  Confirmed

Bug description:
  * Run web client under apache/modwsgi in daemon mode (i.e. with WSGIDaemonProcess and WSGIProcessGroup set)
  * Go to a page that uses an ajax load (e.g 'SALES' from main menu)
  Expect
  * page to load
  Actual
  * 'Loading...' message continues to be displayed and get javascript error
  's.url is null http://openerp.localhost:8080/openobject/static/javascript/jQuery/jquery-1.4.2.js Line 5040'

  This is because the Location header which the javascript is looking
  for is not set.  This only occurs in daemon mode with current modwsgi
  (3.3) due a change in
  http://code.google.com/p/modwsgi/source/detail?r=1215 that makes
  modwsgi use the Location header itself.

  http://code.google.com/p/modwsgi/ indicates daemon mode is usually
  preferred; "Thus, unless you are adept at configuring Apache, always
  use daemon mode when available."

  apache/modwsgi is not the usual way for running the web client, but at
  least according to https://bugs.launchpad.net/openobject-client-
  web/+bug/540255 there is some support for running it this way.



References