Hello,
I’m using DHIS2 2.32.0.
If I export only the metadata - Data Elements as a csv file, and then I try to import the same file as a csv, I receive the following error:
No enum constant org.hisp.dhis.common.ValueType.TRACKER
How is this possible? Is it a bug?
Any recommendation about importing and exporting ?
Thanks a lot.
1 Like
To update the case, If I do the same with a json file, it works as expected, but If I do for an xml file I receive:
Cannot construct instance of org.hisp.dhis.render.DeviceRenderTypeMap
(although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value (‘{MOBILE={type=MATRIX}, DESKTOP={type=MATRIX}}’) at [Source: (BufferedInputStream); line: 1, column: 488] (through reference chain: org.hisp.dhis.dxf2.metadata.Metadata[“programStageSections”]->java.util.ArrayList[0]->org.hisp.dhis.program.ProgramStageSection[“renderType”])
It seems a bug.
Can onyone help me?
Thanks a lot.
1 Like