← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 956700] Re: Uncaught Error: QUOTA_EXCEEDED_ERR: DOM Exception 22

 

This problem only arises when I am using the admin user who has the
entire orgunit tree (40k+ units).

I think the API method would be useful for other purposes as well,
i.e. only pulling orgunits which the user has been explicitly assigned
through the datasets assignments, but this is really a seperate
requirement.

I think for this particular problem, we need to decide whether the
orgunit tree can be cached at all. If it is too big (or there is no
work around in some way) then it should not be stored locally, and the
user will simply have to refresh it each time.

The thing I guess which is weird for me is that in other places (like
the data browser) Chrome works just fine with the orgunit tree, and it
loads instantaneously.


On Fri, Mar 23, 2012 at 11:02 AM, Bob Jolliffe <bobjolliffe@xxxxxxxxx> wrote:
> Following this thread
> http://code.google.com/p/chromium/issues/detail?id=58985 it seems that
> the local storage limit (at least in chrome) is effectively 2.5m
> characters.  And is likely to decrease rather than increase and its
> not possible to increase via preference.
>
> So ... the bulk of local storage use has got to be the orgunits.
> Which in fact probably should not be the case.  Any particular client
> on any particular browser is likely to be entering data for only one
> (or a few) orgunits.  And these are likely to be lower down amongst
> the leaves than up high in the thick branches.  It seems to me that if
> we could make use of an api method to filter orgunits on the basis of
> the logged in user we might deal with this problem.  Which
> incidentally I could make very good use of with mydatamart as well,
> which as we know, scales badly when processing vast numbers of
> orgunits.
>
> Morten what do you think?
>
> Bob
>
> On 23 March 2012 08:45, jason.p.pickering <956700@xxxxxxxxxxxxxxxxxx> wrote:
>> 40108..and counting.
>>
>>
>> 2012/3/23 Lars Helge Øverland <larshelge@xxxxxxxxx>:
>>> How many org units in total in the db?
>>>
>>> ** Changed in: dhis2
>>>    Milestone: None => 2.8
>>>
>>> ** Changed in: dhis2
>>>       Status: New => In Progress
>>>
>>> --
>>> You received this bug notification because you are a member of DHIS 2
>>> India Developers, which is subscribed to DHIS.
>>> https://bugs.launchpad.net/bugs/956700
>>>
>>> Title:
>>>  Uncaught Error: QUOTA_EXCEEDED_ERR: DOM Exception 22
>>>
>>> Status in DHIS 2 - District Health Information Software:
>>>  In Progress
>>>
>>> Bug description:
>>>  When loading the orgunit tree for Nigeria, I get the following error.
>>>
>>>  Uncaught Error: QUOTA_EXCEEDED_ERR: DOM Exception 22
>>>
>>>  This seems to be related to the limit for local storage.
>>>
>>>  Blocker.
>>>
>>> To manage notifications about this bug go to:
>>> https://bugs.launchpad.net/dhis2/+bug/956700/+subscriptions
>>
>> --
>> You received this bug notification because you are a member of DHIS 2
>> India Developers, which is subscribed to DHIS.
>> https://bugs.launchpad.net/bugs/956700
>>
>> Title:
>>  Uncaught Error: QUOTA_EXCEEDED_ERR: DOM Exception 22
>>
>> Status in DHIS 2 - District Health Information Software:
>>  In Progress
>>
>> Bug description:
>>  When loading the orgunit tree for Nigeria, I get the following error.
>>
>>  Uncaught Error: QUOTA_EXCEEDED_ERR: DOM Exception 22
>>
>>  This seems to be related to the limit for local storage.
>>
>>  Blocker.
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/dhis2/+bug/956700/+subscriptions
>
>
> ** Bug watch added: code.google.com/p/chromium/issues #58985
>   http://code.google.com/p/chromium/issues/detail?id=58985
>
> --
> You received this bug notification because you are a member of DHIS 2
> India Developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/956700
>
> Title:
>  Uncaught Error: QUOTA_EXCEEDED_ERR: DOM Exception 22
>
> Status in DHIS 2 - District Health Information Software:
>  In Progress
>
> Bug description:
>  When loading the orgunit tree for Nigeria, I get the following error.
>
>  Uncaught Error: QUOTA_EXCEEDED_ERR: DOM Exception 22
>
>  This seems to be related to the limit for local storage.
>
>  Blocker.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/956700/+subscriptions

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/956700

Title:
  Uncaught Error: QUOTA_EXCEEDED_ERR: DOM Exception 22

Status in DHIS 2 - District Health Information Software:
  In Progress

Bug description:
  When loading the orgunit tree for Nigeria, I get the following error.

  Uncaught Error: QUOTA_EXCEEDED_ERR: DOM Exception 22

  This seems to be related to the limit for local storage.

  Blocker.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/956700/+subscriptions


References