← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 338673] Re: Organisation unit name is yellow when we haven't chosen it yet

 

Dear Lars,

Are u talking about this one right?

selectedStateManager.clearSelectedOrganisationUnits();

If true, I confirmed that this bug had been fixed by Tran for long time ago.
But just only for this issue at some of places not at all. So, guess that
you want to fix it for all cases? I am going to do that now.

Thanks.

2010/4/26 Lars Helge Øverland <larshelge@xxxxxxxxx>

>
> This is not fixed.
>
> One usecase: Go to reporting module - dataset reports, then select an
> orgunit in the tree. Then go to completeness report (notice that the orgunit
> in the tree is selected), select dataset, periodtype, period. Then nothing
> happens because you are required to select an orgunit. The problem is that
> the orgunit is selected visually in the tree but the javascript that
> "listens" to the tree to get the selected one is not updated.
>
> The best solution is to remove the selected state visually from the tree
> between forms/views so that the user is required to select it again.
>
>

-- 
Hieu.HISPVietnam
Good Health !

-- 
Organisation unit name is yellow when we haven't chosen it yet
https://bugs.launchpad.net/bugs/338673
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.

Status in DHIS 2 - District Health Information Software: Incomplete

Bug description:
When choosing parameter for generate report, the organization unit has yellow color when we haven't chosen it yet at the first stage. This lead to confusing because we don't know the organization unit chosen or not.

ADDED: Seems like the org. unit is pre-set with colours from the last time used. Example: Data completeness report > select org.unit, period type, and period. Works fine. Open Data completeness again > same org.unit as before already yellow, but apparently not selected. Need to unselect it, then select it again (or just select another uint) for the report to appear (given that I done the other selections)





References