← Back to team overview

dhis2-devs team mailing list archive

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

 

Public bug reported:


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.

** Affects: dhis2
     Importance: Undecided
         Status: New


** Tags: 2.23 import metadata programs

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


Follow ups