← Back to team overview

dhis2-devs team mailing list archive

[Bug 1558023] [NEW] Cannot import multiple events (CSV format) through the API

 

Public bug reported:

Tested in v2.20, v2.21, v2.22

Cannot import multiple events (CSV format) through the API. Looking at
the stacktrace (attached), this appears to be because the import is not
recognising line endings for the CSV. If you load one event at a time,
import works fine.

(It would also be good if there were the option in the API to 'skip'
first line of CSV, otherwise CSV load fails if you have column headers
included (tries to load the word 'latitude' which fails as it is not a
double value).

** Affects: dhis2
     Importance: Undecided
         Status: New

** Attachment added: "stacktrace.html"
   https://bugs.launchpad.net/bugs/1558023/+attachment/4600998/+files/stacktrace.html

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1558023

Title:
  Cannot import multiple events (CSV format) through the API

Status in DHIS:
  New

Bug description:
  Tested in v2.20, v2.21, v2.22

  Cannot import multiple events (CSV format) through the API. Looking at
  the stacktrace (attached), this appears to be because the import is
  not recognising line endings for the CSV. If you load one event at a
  time, import works fine.

  (It would also be good if there were the option in the API to 'skip'
  first line of CSV, otherwise CSV load fails if you have column headers
  included (tries to load the word 'latitude' which fails as it is not a
  double value).

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1558023/+subscriptions