← Back to team overview

dhis2-devs team mailing list archive

[Bug 987316] Re: ouwt: should always reload from server when organisationUnit.size == 0

 

** Changed in: dhis2
       Status: New => Fix Committed

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

Title:
  ouwt: should always reload from server when organisationUnit.size == 0

Status in DHIS 2 - District Health Information Software:
  Fix Committed

Bug description:
  When the user hasn't been assigned any organisationunits yet, it will
  get an empty list in ouwt. This is OK. But when the user is assigned a
  OU the list is not automatically reloaded since the OU tree itself
  hasn't been changed (we are triggering updates through the version
  table).

  For the cases where there is no OUs in localStorage, or the size of
  the OUs in localStorage is 0, we should always reload.

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


References