-
Notifications
You must be signed in to change notification settings - Fork 20
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
IATI XML import may fail partially if Currency doesn't already exist #2382
Comments
punchagan
added a commit
that referenced
this issue
Sep 28, 2016
codelist_value sometimes returns strings, and strings don't have name attributes. This causes the transactions to be failed to be imported in the IATI import tests.
punchagan
added a commit
that referenced
this issue
Sep 28, 2016
punchagan
added a commit
that referenced
this issue
Sep 28, 2016
punchagan
added a commit
that referenced
this issue
Sep 28, 2016
punchagan
added a commit
that referenced
this issue
Sep 28, 2016
zzgvh
added a commit
that referenced
this issue
Oct 6, 2016
The lookup of the transaction currency name from the codelist is incorrectly using utils.codelist_value. Fix by using utils.codelist_name() and also simplify Transaction.__unicode__().
zzgvh
added a commit
that referenced
this issue
Oct 6, 2016
Specifically to test the transaction currency name lookup.
Fixed in #2395 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adding an assertion
self.assertEqual(project_v2.transactions.count(), 1)
toakvo.rsr.tests.iati_import.test_iati_import.IatiImportTestCase.test_iati_v2_import
causes the test to fail.The text was updated successfully, but these errors were encountered: