Skip to content
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 import bugs #2167

Closed
5 tasks done
KasperBrandt opened this issue May 11, 2016 · 0 comments
Closed
5 tasks done

IATI import bugs #2167

KasperBrandt opened this issue May 11, 2016 · 0 comments
Assignees
Milestone

Comments

@KasperBrandt
Copy link
Contributor

KasperBrandt commented May 11, 2016

Issue description

Errors:

Warnings:

  • Location description field is too long (255 characters allowed)

Test plan

See attached zipped XML file

  1. Make sure there is an organisation in RSR with IATI organisation ID set to 'NL-KVK-34200988' and 'Can create projects' to True
  2. Create a new IATI import (in the old admin), set to 'Run immediately' and 'Importing enabled'. Before saving, also add an IATI import job and upload the attached XML file (unzipped). Then save the IATI import / job.
  3. Run sh manage.sh iati_import
  4. The IATI import job should have the status 'completed' now, check the logs in the old admin (open the IATI import job). The logs should have no mention of an 'Humanitarian' error, nor a warning about the description lengths. Also, there should be a 'value not saved' warning for the unknown country code, since one of the country codes in the XML file is '-'.

iati_import_37.xml.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants