[
http://mifosforge.jira.com/browse/MIFOS-5316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=71259#comment-71259
]
Mifos Hudson Jira Plugin User commented on MIFOS-5316:
------------------------------------------------------
Integrated in !http://ci.mifos.org/hudson/images/16x16/yellow.png!
[head-g-release-secondary
#281|http://ci.mifos.org/hudson/job/head-g-release-secondary/281/]
MIFOS-5316 : It is possible to approve invalid transaction using 'View
REST Approval List' page
Udai Gupta :
Files :
* rest/src/main/resources/org/mifos/platform/rest/ui/views/approval/list.ftl
* rest/src/main/resources/org/mifos/platform/rest/ui/views/approval/details.ftl
* rest/src/main/resources/META-INF/resources/js/restApproval.js
* rest/src/main/java/org/mifos/platform/rest/controller/RESTAPIHelper.java
*
rest/src/main/java/org/mifos/platform/rest/controller/validation/ParamValidationException.java
*
rest/src/main/java/org/mifos/platform/rest/controller/CustomerRESTController.java
*
application/src/main/java/org/mifos/framework/servlet/UncaughtExceptionHandler.java
* rest/src/test/resources/test-context.xml
*
rest/src/main/java/org/mifos/platform/rest/controller/LoanAccountRESTController.java
*
rest/src/main/java/org/mifos/rest/approval/service/StandardApprovalService.java
*
rest/src/main/java/org/mifos/platform/rest/controller/ApprovalRESTController.java
*
rest/src/main/java/org/mifos/platform/rest/controller/SavingsAccountRESTController.java
* rest/src/main/resources/META-INF/spring/restServicesContext.xml
> It is possible to approve invalid transaction using 'View REST Approval List'
> page
> ----------------------------------------------------------------------------------
>
> Key: MIFOS-5316
> URL: http://mifosforge.jira.com/browse/MIFOS-5316
> Project: mifos
> Issue Type: Bug
> Affects Versions: Release 2.2.2
> Reporter: Lukasz Chudy
> Assignee: Udai Gupta
> Fix For: Release 2.2.3
>
> Attachments: screenshot.png
>
>
> Currently, it is possible to send incorrect transaction via REST Client and
> then approve it using 'View REST Approval List' page. This is causing stack
> trace.
> Repro:
> 1. Use REST Client and send repay operation with amount -200.
> 2. Go to Mifos and to 'View REST Approval List' page.
> 3. Check that operation appears with the WAITING status.
> 4. Click on Approve link and confirm.
> Expected result:
> It is not possible to Approve transaction with negative amount. Validation
> message should appear.
> Actual result:
> It is possible to approve transaction with negative amount. After you click
> on the details of that transaction then page with stack trace appears.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://mifosforge.jira.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Learn Windows Azure Live! Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues