← Back to team overview

dhis2-devs team mailing list archive

[Bug 1589539] Re: Importing program tracked entity attributes fails on dimensionItem

 

** Changed in: dhis2
    Milestone: None => 2.23

** Changed in: dhis2
     Assignee: (unassigned) => Morten Olav Hansen (mortenoh)

** Changed in: dhis2
   Importance: Undecided => Medium

-- 
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:
  New

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


References