← Back to team overview

dhis2-devs team mailing list archive

[Bug 1638551] Re: Category option group set should be optional for approval level

 

Note: This is not a problem in the UI, but behind the Web API while
importing the new  data approval level. The UI allows the category
option group set to be left blank, but when POSTing the new approval
level, the following message is returned saying that
categoryOptionGroupSet is a required property. It should be optional:

{"httpStatus":"Conflict","httpStatusCode":409,"status":"WARNING","message":"One
more more errors occurred, please see full details in import
report.","response":{"responseType":"ObjectReport","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"}],"uid":"dj12KaUnskG"}}

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1638551

Title:
  Category option group set should be optional for approval level

Status in DHIS:
  New

Bug description:
  When creating a data approval level under Settings -> Approval in 2.25
  and trunk, a category option group set must be specified. This should
  be optional, as it was in 2.24 and earlier.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1638551/+subscriptions


References