DFID/aid-platform-beta — pull request #183 by R-Hoque (2013-12-20 08:28:15+00:00)
Title: Data load for partner org rework#t239

Work done in this branch is primarily to fix issues when loading partner files. It has been noticed that data in many partner files are not in the format (or in type) as expected in dev tracker. Therefore on many cases data casting (from neo4j to mongo using cypher queries) throws exception and the data loading breaks.

Here data type has been checked before casting or converting to different data type. Probably not the best way to handle this issue (could have a dedicated function to handle this type conversion), however it works. Going forward we may need think how to provide default data value when data is invalid format or type mismatches.

Associated trello card for this branch is card # 239. All findings have been documented on that card.