← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 699960] Re: [RC2] many2many with many records doesn't load

 

On Saturday 15 January 2011, you wrote:
> openerp.base.js line 107:
> 
>         var data = xhr.responseText || data;
> +      alert(data);
> 
> The variable "data" is empty. Is there a limitation on the size of data
> received with the XMLHttpRequest object ?

(without looking at the code or reproducing the issue)

Imagine that request being a full HTML document. The limitation, if any, will 
be well above some MBytes, which means that it is highly unlikely that it 
would affect the data..

However, most HTTP requests are subject to timeouts[1]. If such a timeout 
occurs, request result would be empty[2] 

[1] short timeouts for inactivity when request  answer is expected, longer 
timeouts when some data slowly comes. Still, /unless you are using a proxy/ 
most AJAX implementations raise the timeouts to a big values for those 
requests. Example (minimum tested vals): 2-3min for inactivity >10min for slow 
data, >30min for AJAX.

[2] if the answer is "cancelled" by the receiving side, you /might/ get an 
empty string instead of partial data.

-- 
Say NO to spam and viruses. Stop using Microsoft Windows!

-- 
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/699960

Title:
  [RC2] many2many with many records doesn't load

Status in OpenObject Web Client:
  New

Bug description:
  I have to write a wizard that allow mass mailing to partner contacts
  based on criteria. The user want to be able to add and remove contacts
  from the mailing list. I have a many2many field that I fill with the
  contacts that match these criteria. When the list is huge (about
  1000), the form fail to load. BTW, when using the GTK client, it
  works, but it's always limited to 100 records !





References