← Back to team overview

openerp-dev-web team mailing list archive

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

 

Devishree Brahmbhatt (OpenERP) (dbr-openerp) has assigned this bug to you for OpenERP Web Client:

* 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.

** Affects: openobject-client-web
     Importance: High
     Assignee: OpenERP SA's Web Client R&D (openerp-dev-web)
         Status: Confirmed

-- 
modwsgi in daemon mode causes ajax load to hang
https://bugs.launchpad.net/bugs/722264
You received this bug notification because you are a member of OpenERP SA's Web Client R&D, which is a bug assignee.