← Back to team overview

dhis2-devs team mailing list archive

[Bug 1539060] Re: Settings workflow shows wrong levels when new level inserted

 

Also the workflows tab shows the wrong levels when an approval level is
deleted that was above some of the levels assigned to a workflow.

(This was not a problem when this bug was first reported, because
deleting a level left a gap in the level numbers. This has now been
fixed in trunk and 2.22 so no gap is left in the approval level numbers,
but the workflows tab does not show the updated numbers.)

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

Title:
  Settings workflow shows wrong levels when new level inserted

Status in DHIS:
  New

Bug description:
  v2.22 - In the Settings app, when a new approval level is inserted
  above levels assigned to a workflow, then the workflows tab shows the
  wrong levels (until the settings app is reloaded).

  To reproduce, go to https://play.dhis2.org/demo Apps -> Settings ->
  Approval -> Approval Workflows tab. Note that both workflows are
  assigned to levels 1 and 2. Now go to the Approval Levels tab and add
  a new level "National". This now becomes level "1". Then go back to
  the Approval Workflows tab. It shows -- incorrectly -- that both of
  the workflows are still assigned to levels 1 and 2, when really they
  are now assigned to levels 2 and 3.

  If you exit the settings app and relaunch it -- or launch the settings
  app in a new browser tab or window -- you will see that the workflows
  show that they are correctly assigned to levels 2 and 3.

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


References