← Back to team overview

dhis2-devs team mailing list archive

expressiondataelement not populating?

 

Hello devs

Version 2.21 (have yet to test in 2.22)

When importing csv validation rules there is no column for "dataElements",
and the table called expressiondataelement will be populated based on the
expressions (in the same way when you are creating the expressions with the
GUI).

This is different for the XML importer. It expects an additional tag inside
both <leftSide> and <rightSide> called <dataElements>. If this tag is not
provided, the expressiondataelement table will not receive any rows on
import, and there is no indication from the app that there is anything
wrong with the import.

Would it be possible to drop the requirement for the <dataElements> tag
inside leftside/rightside and generate the rows for expressiondataelement
on import in the same manner as the csv importer? I am not seeing the added
value in quantifying the dataelements in use *twice* for the same object.




*Timothy Harding*
Sr. Systems Analyst, BAO Systems
+1 202-536-1541 | tharding@xxxxxxxxxxxxxx | http://www.baosystems.com | Skype:
hardingt@xxxxxxxxx | 2900 K Street, Suite 404, Washington D.C. 20007

PNG image