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

Wojciech Marchaj reopened MIFOS-3918:
-------------------------------------


Inserting a value into the year of "End Date" of a saving product w/o inserting 
day or month returns NullPointerException after Preview:
----------------------------------------------------------
2010-11-05/16:55:24.959/CET ERROR, 
org.mifos.framework.servlet.UncaughtExceptionHandler, ?, ?, ?, Uncaught 
exception while accessing '/mifos-webapp/previewSavingsProducts.ftl'
java.lang.NullPointerException
        at 
org.mifos.ui.core.controller.ProductModelAndViewPopulator.populateProductDetails(ProductModelAndViewPopulator.java:43)
        at 
org.mifos.ui.core.controller.SavingsProductPreviewController.populateModelAndViewForPreview(SavingsProductPreviewController.java:74)
        at 
org.mifos.ui.core.controller.SavingsProductPreviewController.showPopulatedForm(SavingsProductPreviewController.java:66)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:174)
        at 
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:421)
        at 
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:409)
        at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:771)
        at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
        at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
        at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
org.mifos.servlet.filters.MifosAccessLogFilter.doFilter(MifosAccessLogFilter.java:72)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
org.mifos.framework.persistence.DatabaseInitFilter.doFilter(DatabaseInitFilter.java:51)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                                                                
                                                                  


> Define Savings Product date validation incomplete
> -------------------------------------------------
>
>                 Key: MIFOS-3918
>                 URL: http://mifosforge.jira.com/browse/MIFOS-3918
>             Project: mifos
>          Issue Type: Bug
>          Components: Savings Account
>    Affects Versions: Release E
>            Reporter: jbrewster
>            Assignee: MichaƂ Orzechowski
>             Fix For: Release E - Iteration 9, Release E
>
>
> Enter an invalid date for new Savings Product and get message like:
> "must be less than or equal to 12" or "must be less than or equal to 31"
> Strings should be specific -
> "Day value must be less than or equal to 31"
> Also, the year input allows negatives.  It flips a bogus negative value such 
> as -1 into positive of 2.
> expected: do not allow negative year values.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to