← Back to team overview

dhis2-devs team mailing list archive

[Bug 338617] Re: DXF Import does not check file format

 

** Changed in: dhis2
       Status: New => Fix Committed

-- 
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 DHIS 2 - District Health Information Software: Fix Committed

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





References