← Back to team overview

dhis2-devs team mailing list archive

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

 

Public bug reported:

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.

** 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/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


Follow ups