← Back to team overview

dhis2-devs team mailing list archive

Re: Approval levels are failing to save


This has recently been noticed and reported as a new bug at
https://bugs.launchpad.net/dhis2/+bug/1638551. The problem is that an
approval level cannot be saved without specifying a Category option group
set -- which should be optional, not required. One workaround until this is
fixed is that you can create an approval level with a category option group
set, and then patch the approval level's categoryoptiongroupsetid field in
the database to NULL. (Then clear the HIbernate cache or restart Tomcat.)

Also note that the workflow field is missing from edit/create dataset in
2.25. This has been reported at
https://bugs.launchpad.net/dhis2/+bug/1638553. Again, as a workaround you
could patch the workflowid into the dataset record and then clear the
HIbernate cache or restart Tomcat.


On Fri, Nov 4, 2016 at 8:47 AM, Archana Chillala <archanac@xxxxxxxxxxxxxxxx>

> Hi,
> We're using DHIS 2.25. In settings app, we have approvals. When we try to
> create an Approval Level and try to save, he application throws a snack-bar
> message saying "*Failed to save approval level*". Approval levels used to
> get saved in earlier DHIS versions. Could you please look into it.
> Please find the screenshot attached.
> *Cheers,*
> Archana Chillala
> Application Developer
> Email archanac@xxxxxxxxxxxxxxxx
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp

Jim Grace
Core developer, DHIS 2
http://www.dhis2.org <https://www.dhis2.org/>

Follow ups