← Back to team overview

dhis2-devs team mailing list archive

Re: Approval levels are failing to save

 

Thank you, Morten. Works now!

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>

On Mon, Nov 7, 2016 at 7:07 AM, Morten Olav Hansen <morten@xxxxxxxxx> wrote:

> This should be fixed in 2.25/master now.
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Fri, Nov 4, 2016 at 11:45 PM, Jim Grace <jim@xxxxxxxxx> wrote:
>
>> 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.
>>
>> Cheers,
>> Jim
>>
>>
>> On Fri, Nov 4, 2016 at 8:47 AM, Archana Chillala <
>> archanac@xxxxxxxxxxxxxxxx> wrote:
>>
>>> 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
>> HISP US Inc.
>> http://www.dhis2.org <https://www.dhis2.org/>
>>
>> _______________________________________________
>> 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
>>
>>
>

References