← Back to team overview

dhis2-devs team mailing list archive

[Bug 338617] [NEW] DXF Import does not check file format

 

Public bug reported:

When we are importing data from a file which is not in the dxf format
(the xml in the zip), DHIS2 does not give a msg that it is not in the
correct format and is unable to import data... It instead shows that the
last imported file was the <filename>.

Ideally it should try to make some check before it tries to import data
and should notify the user that it is in the wrong format and has not
been imported.

We need to catch the exception being thrown by the parser and then
notify the user of the incorrect format

** Affects: dhis2
     Importance: Undecided
         Status: New

-- 
DXF Import does not check file format
https://bugs.launchpad.net/bugs/338617
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.

Status in District Health Information Software: New

Bug description:
When we are importing data from a file which is not in the dxf format (the xml in the zip), DHIS2 does not give a msg that it is not in the correct format and is unable to import data... It instead shows that the last imported file was the <filename>.

Ideally it should try to make some check before it tries to import data and should notify the user that it is in the wrong format and has not been imported. 

We need to catch the exception being thrown by the parser and then notify the user of the incorrect format



Follow ups

References