← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 705312] Re: Sometimes, when you click on an item in a tree view, you get a Menu object

 

Christophe, many thanks for the investigation and detailed analysis, and the suggested patches, this is invaluable!
We should be able to reproduce it by forcing a shorter timeout or manually patching CherryPy, and thus properly handle this bug.

Maybe instead of raising an error we could implement a workaround to solve the issue for the majority of the people that will find upgrading CherryPy difficult. Perhaps it would be possible to simply perform the request again in case a 408 error is received, as this is really the expected way to handle a 408, even if in this case CP replies to the wrong request. Re-sending the request would also fix the issue of having no response.
Of course this doesn't prevent us from suggesting an upgrade of CP and doing it ourselves for the all-in-one packages.

Incidentally, this analysis[1] means that the request that gets a 408 would need to be sent a few hundreds of milliseconds after the bulk of the requests have been sent, but not later than that, otherwise the browse will not reuse the dropped persistent connection. This delay could be the result of the synchronous parsing/loading of script blocks, or other similar things.
Maybe this is useful to know to reproduce or implement the workaround.

[1] https://bitbucket.org/cherrypy/cherrypy/issue/847#comment-693355

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

Title:
  Sometimes, when you click on an item in a tree view, you get a Menu
  object

Status in OpenERP Web Client:
  Confirmed

Bug description:
  I used the French language when this happenned. I wouldn't reproduced
  it with english language.

  Administration -> Modules -> Modules

  Then, click on a module. I got what is show on the screen after I
  clicked on a module. Here the URL:
  http://erp6test.we2bs.com/openerp/menu?active=3#url=%2Fopenerp%2Fform%2Fview%3Fmodel%3Dir.ui.menu%26id%3D133%26ids%3D%26view_ids%3D%255BFalse%252C%2520False%255D%26view_mode%3D%255Bu%2527tree%2527%252C%2520u%2527form%2527%255D%26view_type%3Dtree%26domain%3D%255B%28%2527parent_id%2527%252C%2520%2527%253D%2527%252C%252032%29%255D%26context%3D%257B%2527lang%2527%253A%2520u%2527fr_FR%2527%252C%2520%2527client%2527%253A%2520%2527web%2527%252C%2520%2527tz%2527%253A%2520False%252C%2520%2527section_id%2527%253A%2520False%257D%26offset%3D0%26limit%3D20%26count%3D169%26search_domain%3D%255B%255D%26filter_domain%3D%255B%255D%26notebook_tab%3D0

  It happend since a moment, and I don't know why. Simetimes it works,
  sometime it doesn't. If can't reproduce the bug, try to restart your
  browser, and directly go the modules list.

  Note: It happend will other tree views, not only modules.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/705312/+subscriptions


References