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

Implement the schema validation during the activity complete stage. #148

Open
anjesh opened this issue Dec 30, 2015 · 1 comment
Open

Implement the schema validation during the activity complete stage. #148

anjesh opened this issue Dec 30, 2015 · 1 comment
Assignees

Comments

@anjesh
Copy link
Contributor

anjesh commented Dec 30, 2015

Background:

When the V2.01 was implemented in AidStream, there were number of activities where passed the AidStream workflow, but with issues in couple of elements. Primarily because in previous IATI version, these elements were not mandatory. When these elements are not touched in v201, they would happily appear in the xml file.

For e.g.

In sector, code is not mandatory in v105 http://iatistandard.org/105/activity-standard/iati-activities/iati-activity/sector/ but is now mandatory in v201. There are activities where sector code is missing and giving validation error younginnovations/aidstream#135

Solution

Implement the schema validation in the workflow, which will catch these errors before the activity is tagged as "completed". This would catch the existing activity which misses some of these data (which are not compulsory in the previous IATI versions).

For the new activities, these problem would never happen, as all these validations are included as a part of the form validation.

@anjesh
Copy link
Contributor Author

anjesh commented Dec 30, 2015

All these issues will get resolved after the implementation of schema validation in each activity. But the organisation has to do the re-publishing first to get schema errors.

#134 #135 #136 #137 #138 #139 #140 #141 #142 #143 #144 #145 #146

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

No branches or pull requests

2 participants