Issue Type: Bug Bug
Assignee: Madhukar
Components: Deposit Product
Created: 26/Feb/13 2:59 AM
Description:

Trying to retrieve a deposit product by a resource id that does not exist throws exception.

GET https://localhost:8443/mifosng-provider/api/v1/depositproducts/9

org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
	org.springframework.dao.support.DataAccessUtils.requiredSingleResult(DataAccessUtils.java:71)
	org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:734)
	org.mifosplatform.portfolio.savingsdepositproduct.service.DepositProductReadPlatformServiceImpl.retrieveDepositProductData(DepositProductReadPlatformServiceImpl.java:64)
	org.mifosplatform.portfolio.savingsdepositproduct.api.DepositProductsApiResource.retrieveDepositProductDetails(DepositProductsApiResource.java:135)

see the comments on pull request https://github.com/openMF/mifosx/pull/138 for solution to bring approach inline with rest of code base.

Project: Mifos X
Priority: Major Major
Reporter: keithwoodlock
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to