CSV event import only works when importing one line

Hello,

We are experiencing some problems to import events with the import-export data App. It only allows to import one line. When we import more than one it raises an error on the serve (see the serverlog attached).

The user received a part of the serverlog error :

Process failed: A different object with the same identifier value was already associated with the session : [org.hisp.dhis.trackedentitydatavalue.TrackedEntityDataValue#TrackedEntityDataValue{dataElement={“class”:“class org.hisp.dhis.dataelement.DataElement”, “hashCode”:“582086769”, “id”:“92040”,

JIRA ticket : https://jira.dhis2.org/browse/DHIS2-2518

Thank you for helping.

PS: The documentation should be updated in order to know the correct csv format: c.f. (https://jira.dhis2.org/browse/DHIS2-1905)

Best,

Ramón Jimenez Pomareta

Here’s the server log :slight_smile:

serverLog.txt (12.2 KB)

···

2017-11-20 12:11 GMT+01:00 Ramón José Jiménez Pomareta dhis2@pomareta.ch:

Hello,

We are experiencing some problems to import events with the import-export data App. It only allows to import one line. When we import more than one it raises an error on the serve (see the serverlog attached).

The user received a part of the serverlog error :

Process failed: A different object with the same identifier value was already associated with the session : [org.hisp.dhis.trackedentitydatavalue.TrackedEntityDataValue#TrackedEntityDataValue{dataElement={“class”:“class org.hisp.dhis.dataelement.DataElement”, “hashCode”:“582086769”, “id”:“92040”,

JIRA ticket : https://jira.dhis2.org/browse/DHIS2-2518

Thank you for helping.

PS: The documentation should be updated in order to know the correct csv format: c.f. (https://jira.dhis2.org/browse/DHIS2-1905)

Best,

Ramón Jimenez Pomareta