You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We made the Org import, but we were only updating the Location and Logo of existing orgs. We need to ensure that all information included within the incoming file is updated when it is provided.
org_data_from_xml() is a more general way to get from the etree
representation of the data to the dictionary needed in the Django ORM.
The core idea is to use an initial dict that holds the Organisation
field names as keys and the xpath expressions for getting the data from
the etree as values. After running the xpath part using calls to
data_from_xpaths() post processing of fields that need to be transformed
from the raw data is made.
internal ID
update_organisation() updates an exising organisation with the data
from the XML. This was missing from the previous version of pre_import.
Also add logging for when an InternalOrganisationID is created and
refactor create_new_organisation() to use org_data_from_xml().
We made the Org import, but we were only updating the Location and Logo of existing orgs. We need to ensure that all information included within the incoming file is updated when it is provided.
@zzgvh you have the details of this already.
The text was updated successfully, but these errors were encountered: