Re: [Dhis2-devs] Configuration of approvals in 2.25

2016-11-02 Thread Jim Grace
Got it. I've created two new bug reports for these problems: https://bugs.launchpad.net/dhis2/+bug/1638551 https://bugs.launchpad.net/dhis2/+bug/1638553 On Wed, Nov 2, 2016 at 2:59 AM, Jason Pickering wrote: > Hi Jim, > Not sure what happened to the image, but its not really important. > > My

Re: [Dhis2-devs] Configuration of approvals in 2.25

2016-11-01 Thread Jason Pickering
Hi Jim, Not sure what happened to the image, but its not really important. My workaround was to basically to 1) Create a category option group set with type attribute (I did not have any) 2) Create the approval levels and approval workflow using that category option group set through the UI. 3)

Re: [Dhis2-devs] Configuration of approvals in 2.25

2016-11-01 Thread Jim Grace
Hi Jason, Your image didn't come through; it was a broken link image. When I create or edit a dataset through the 2.25 UI, I can't find a place to select the workflow. (It was there in 2.23 and 2.24.) So I'm not sure what you mean by "added the workflow to the dataset which needs approval through

Re: [Dhis2-devs] Configuration of approvals in 2.25

2016-11-01 Thread Jason Pickering
Hi Jim, ​I think i did that actually. Have a look at these three tables. ​ After making those adjustments, and clearing the application cache, i went to data approvals, but nothing appeared there, even though I had added the workflow to the dataset which needs approval through the UI. However,

Re: [Dhis2-devs] Configuration of approvals in 2.25

2016-11-01 Thread Jim Grace
Hi Jason, 1. After you patched dataapprovallevel.categoryoptiongroupsetid to NULL in the DB, subsequently could you view the approval level with no cat option combo in the edit approval level screen? 2. In order to approve a dataset, you need to create an approval workflow, assign one or more app

Re: [Dhis2-devs] Configuration of approvals in 2.25

2016-11-01 Thread Jason Pickering
I tried that actually but could not get any data-sets to appear in the approvals dialog. I even tried to create a "Default category option group set", containing only the "default" category option, but that did not work either. Neither hack worked. Unfortunately, we cannot go back to 2.24 at thi

Re: [Dhis2-devs] Configuration of approvals in 2.25

2016-11-01 Thread Jim Grace
Lars, should I create bug reports for these two 2.25 approvals-related problems? Jason, you could use 2.24, or you could try defining an approval level with a cat option group set, then find that record in the dataapprovallevel table and patch the categoryoptiongroupsetid column to null (and flush

Re: [Dhis2-devs] Configuration of approvals in 2.25

2016-11-01 Thread Jason Pickering
Hi Jim and Lars, Has this been solved, or is there a workaround which I can use? Regards, Jason On Tue, Oct 25, 2016 at 12:59 PM, Jim Grace wrote: > I get the same results. In 2.24 and earlier I am able to save a new > approval level with no category option group set. But 2.25 does not allow

Re: [Dhis2-devs] Configuration of approvals in 2.25

2016-10-25 Thread Jim Grace
I get the same results. In 2.24 and earlier I am able to save a new approval level with no category option group set. But 2.25 does not allow me to do so. Note that this is not related to the new category combination field that we will be adding to approval workflows in 2.26. This has always been

Re: [Dhis2-devs] Configuration of approvals in 2.25

2016-10-24 Thread Jason Pickering
Hi Lars, Here is the info you asked for. Version:2.25Build revision:8e07d2fBuild date:2016-10-17 06:38 Regards, Jason On Tue, Oct 25, 2016 at 4:58 AM, Lars Helge Øverland wrote: > Hi Jason, > > could you tell us the exact build date for this WAR file? > > Could you also try again with the la

Re: [Dhis2-devs] Configuration of approvals in 2.25

2016-10-24 Thread Lars Helge Øverland
Hi Jason, could you tell us the exact build date for this WAR file? Could you also try again with the latest 2.25 WAR build? We have introduced this property "categoryOptionGroupSet" in master, but should not be there in 2.25. regards, Lars On Sun, Oct 23, 2016 at 12:32 AM, Jason Pickering <

[Dhis2-devs] Configuration of approvals in 2.25

2016-10-22 Thread Jason Pickering
I am trying to configure a workflow for population projections in 2.25. First, I created a new approval worfklow called "Population" with a yearly frequency. I then created a new approval level in the UI like this [image: Inline image 1] We are not using and category options here. In the logs