New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom import of IATI results #2442
Comments
zzgvh
added a commit
that referenced
this issue
Nov 15, 2016
Modify IatiImport.model_mappers so that a mapper with the suffix "_only" only uses the Classes listed in its __all__ list. Create Result_only mapper that only imports Result and children thereof.
zzgvh
added a commit
that referenced
this issue
Nov 15, 2016
Fix Dates import mapper so it doesn't throw and error if there is no activity-date tag.
zzgvh
added a commit
that referenced
this issue
Nov 15, 2016
zzgvh
added a commit
that referenced
this issue
Nov 15, 2016
#2442 only mapper Merging this myself 😛 Need to look into the coverage problem later
punchagan
added a commit
that referenced
this issue
Nov 16, 2016
zzgvh
added a commit
that referenced
this issue
Nov 16, 2016
[#2442] Minor test change to bring coverage to 100% Nice!
zzgvh
added a commit
that referenced
this issue
Nov 16, 2016
The code works without it, but it's needed to make the migrations machinery happy in the long run.
Closed with #2445 |
punchagan
added a commit
that referenced
this issue
Nov 30, 2016
[#2442] Add migration for the mapper
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The EUTF want to be able to import Result data only using the IATI import. The regular import mappers will delete most content of a project if only
<result>
tags are in the XML.To solve this a custom mapper is needed along with some modifications to IatiImport.model_mappers()
The text was updated successfully, but these errors were encountered: