[ 
http://mifosforge.jira.com/browse/MIFOS-5441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Chudy updated MIFOS-5441:
--------------------------------

    Description: 
After upgrading Spring to 3.1.0, validation in REST Api methods is not working 
properly. For example when you try to send method without required parameters 
then you will see the following not meaningful error:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 400 Bad Request</title>
</head>
<body><h2>HTTP ERROR 400</h2>
<p>Problem accessing /mifos/account/loan/num-000100000000897/repay.json. Reason:
<pre>    Bad Request</pre></p><hr /><i><small>Powered by 
Jetty://</small></i><br/>                                                
<br/>                                                
<br/> 

It would be good to see the same validation messages as before. They were 
properly formatted and said clearly what was reason of error.                   
                             

  was:
After upgrading Spring to 3.1.0, validation in REST Api methods is not working 
properly. For example when you try to send method without required parameters 
then you will see the following not meaningful error:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 400 Bad Request</title>
</head>
<body><h2>HTTP ERROR 400</h2>
<p>Problem accessing /mifos/account/loan/num-000100000000897/repay.json. Reason:
<pre>    Bad Request</pre></p><hr /><i><small>Powered by 
Jetty://</small></i><br/>                                                
<br/>                                                
<br/>                                                

    
> Validation in REST Api methods is not working properly after upgrading Spring 
> to 3.1.0
> --------------------------------------------------------------------------------------
>
>                 Key: MIFOS-5441
>                 URL: http://mifosforge.jira.com/browse/MIFOS-5441
>             Project: mifos
>          Issue Type: Bug
>    Affects Versions: 2.3.0-M5
>            Reporter: Lukasz Chudy
>            Assignee: Udai Gupta
>             Fix For: Release H
>
>
> After upgrading Spring to 3.1.0, validation in REST Api methods is not 
> working properly. For example when you try to send method without required 
> parameters then you will see the following not meaningful error:
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
> <title>Error 400 Bad Request</title>
> </head>
> <body><h2>HTTP ERROR 400</h2>
> <p>Problem accessing /mifos/account/loan/num-000100000000897/repay.json. 
> Reason:
> <pre>    Bad Request</pre></p><hr /><i><small>Powered by 
> Jetty://</small></i><br/>                                                
> <br/>                                                
> <br/> 
> It would be good to see the same validation messages as before. They were 
> properly formatted and said clearly what was reason of error.                 
>                                

--
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

        

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to