--fixed for CRM-12498, added condition to check valid contribution status change...
authorPradeep Nayak <pradeep@pradeep.(none)>
Mon, 20 May 2013 10:59:34 +0000 (16:29 +0530)
committerPradeep Nayak <pradeep@pradeep.(none)>
Mon, 20 May 2013 10:59:34 +0000 (16:29 +0530)
commitc71ae31437831beaa7826033d8ad2d3a45256575
tree2a96964028f7c8e6b3e1d5695ef5192ac9f110a7
parentd3886a6caac422c7ee3ed1091e4c68cdf1f8f084
--fixed for CRM-12498, added condition to check valid contribution status change and throw error if invalid

----------------------------------------
* CRM-12498: API contribution.create/update DB Error: constraint violation
  http://issues.civicrm.org/jira/browse/CRM-12498
CRM/Contribute/BAO/Contribution.php
api/v3/Contribution.php
tests/phpunit/api/v3/ContributionTest.php