Fixed in trunk and 2.23

** Changed in: dhis2
       Status: New => Fix Committed

** Changed in: dhis2
       Status: Fix Committed => Fix Released

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

Title:
  Importing program tracked entity attributes fails on dimensionItem

Status in DHIS:
  Fix Released

Bug description:
  
  Importing program tracked entity attributes from 
url/api/programs/uid/metadata.json fails on dimensionItem with the error below.

  Validation Violations: [ErrorReport{message=Maximum length of property
  "id"is 11, but given length was 23., errorCode=E4001, mainKlass=class
  org.hisp.dhis.program.ProgramTrackedEntityAttribute, errorKlass=class
  java.lang.String, value=null}]

  The dimensionItem value is ProgramUid.AttributeUid which makes a total
  of 23 (2 x two uids + full stop).

  This causes the program metadata import fail.

  This affects 2.23.

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

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to