Hi
When exporting XML meta-data from 2.20 into 2.21, the OrgUnit imports works OK (just very sloooow - importing ~8,000 orgunits took nearly one hour) but every single data element import fails (error below)
So the export/import module has a major bug in terms of handling imports from 2.20 or earlier, i.e. it does not correctly identify the DHIS version that the export file is coming from and adjust the import accordingly.
There should not be a need to replicate this on the demo server, or what? It’s pretty obvious…
Regards
Calle
Type
Element
Description
DataElement
OHH follow-up visit
Validation Violations: [ValidationViolation{property=‘valueType’, message=‘Required property missing.’, value=null}]
···
Web API / data model changes
- DataElement > valueType: Enum with values TEXT, LONG_TEXT, LETTER, PHONE_NUMBER, EMAIL, BOOLEAN, TRUE_ONLY, DATE, DATETIME, NUMBER, UNIT_INTERVAL, PERCENTAGE, INTEGER, INTEGER_POSITIVE, INTEGER_NEGATIVE, INTEGER_ZERO_OR_POSITIVE, TRACKER_ASSOCIATE, OPTION_SET, USERNAME.
- DataElement > numberType and textType are replaced by the “valueType” enum.
Calle Hedberg
46D Alma Road, 7700 Rosebank, SOUTH AFRICA
Tel/fax (home): +27-21-685-6472
Cell: +27-82-853-5352
Iridium SatPhone: +8816-315-19119
Email: calle.hedberg@gmail.com
Skype: calle_hedberg