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 < [email protected]> wrote: > 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 I see: > > * INFO 2016-10-23 06:27:23,519 (admin) Import:Start > (DefaultMetadataImportService.java [http-bio-127.0.0.1-8090-exec-4]) > * INFO 2016-10-23 06:27:23,860 (admin) Import:Preheat[REFERENCE] took > 0.33 seconds (DefaultPreheatService.java [http-bio-127.0.0.1-8090-exec-4]) > * INFO 2016-10-23 06:27:23,864 (admin) Import:Validation took 0.00 > seconds (DefaultObjectBundleValidationService.java > [http-bio-127.0.0.1-8090-exec-4]) > * INFO 2016-10-23 06:27:23,890 (admin) Creating 1 object(s) of type > DataApprovalWorkflow (DefaultObjectBundleService.java > [http-bio-127.0.0.1-8090-exec-4]) > * INFO 2016-10-23 06:27:24,067 (admin) Import:Commit took 0.20 seconds > (DefaultMetadataImportService.java [http-bio-127.0.0.1-8090-exec-4]) > * INFO 2016-10-23 06:27:24,067 (admin) Import:Done took 0.55 seconds > (DefaultMetadataImportService.java [http-bio-127.0.0.1-8090-exec-4]) > * INFO 2016-10-23 06:27:39,034 (admin) Import:Start > (DefaultMetadataImportService.java [http-bio-127.0.0.1-8090-exec-4]) > * INFO 2016-10-23 06:27:40,309 (admin) Import:Preheat[REFERENCE] took > 1.27 seconds (DefaultPreheatService.java [http-bio-127.0.0.1-8090-exec-4]) > * INFO 2016-10-23 06:27:40,314 (admin) Import:Validation took 0.00 > seconds (DefaultObjectBundleValidationService.java > [http-bio-127.0.0.1-8090-exec-4]) > * INFO 2016-10-23 06:27:40,314 (admin) Import:Done took 1.28 seconds > (DefaultMetadataImportService.java [http-bio-127.0.0.1-8090-exec-4]) > > which seems to be OK, but in the UI, I get a message that creation of the > approval level failed and in the JS console I see > > {"httpStatus":"Conflict","httpStatusCode":409,"status":"WARNING","message":"One > more more errors occurred, please see full details in import > report.","response":{"responseType":"ObjectReport"," > uid":"ADOd9xfvDjH","klass":"org.hisp.dhis.dataapproval. > DataApprovalLevel","errorReports":[{"message":"Missing required property > `categoryOptionGroupSet`.","mainKlass":"org.hisp.dhis.dataapproval. > DataApprovalLevel","errorKlass":"org.hisp.dhis.dataelement. > CategoryOptionGroupSet","errorCode":"E4000"}]}} > > So, I guess the question is, how do I configure a data approval workflow > with no category option group? > > Regards, > Jason > > > > -- > Jason P. Pickering > email: [email protected] > tel:+46764147049 > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : [email protected] > Unsubscribe : https://launchpad.net/~dhis2-devs > More help : https://help.launchpad.net/ListHelp > > -- Lars Helge Øverland Lead developer, DHIS 2 University of Oslo Skype: larshelgeoverland [email protected] http://www.dhis2.org <https://www.dhis2.org/>
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

