← Back to team overview

dhis2-devs team mailing list archive

[Bug 1546111] [NEW] Org unit tree not rendering correctly in reports screen

 

Public bug reported:

Seems to be a bug when selecting both parents and children as dataview
organisation units for a given user.

If you have org unit structure say

orgA
orgB 
 |__ Child 1
  ___ Child 2
  ___ Child 3 
org C

org unit tree will render correctly in the reports app so long as only
highest level parents are selected e.g. orgA, orgB, orgC

However, if you select both a parent and a child (e.g. orgA, orgB, Child
1, orgC) then child 1 seems to render twice in the tree with a plus sign
that cannot be expanded. This then throws off the whole tree and stops
it rendering correctly.

Low priority as the workaround is simply to allocate org units at the
highest level of the tree, but behaviour could be confusing to users.

Replicated in v2.20, v2.21 with Chrome & Safari browsers with cleared
cache

** Affects: dhis2
     Importance: Undecided
         Status: New

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

Title:
  Org unit tree not rendering correctly in reports screen

Status in DHIS:
  New

Bug description:
  Seems to be a bug when selecting both parents and children as dataview
  organisation units for a given user.

  If you have org unit structure say

  orgA
  orgB 
   |__ Child 1
    ___ Child 2
    ___ Child 3 
  org C

  org unit tree will render correctly in the reports app so long as only
  highest level parents are selected e.g. orgA, orgB, orgC

  However, if you select both a parent and a child (e.g. orgA, orgB,
  Child 1, orgC) then child 1 seems to render twice in the tree with a
  plus sign that cannot be expanded. This then throws off the whole tree
  and stops it rendering correctly.

  Low priority as the workaround is simply to allocate org units at the
  highest level of the tree, but behaviour could be confusing to users.

  Replicated in v2.20, v2.21 with Chrome & Safari browsers with cleared
  cache

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


Follow ups