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

keithwoodlock updated MIFOS-4583:
---------------------------------

    Scheduled For: Release  (was: Product)
    Fix Version/s: Elsie F
                   Elsie F - Iteration 10

> An unhandled error during defining new holiday on current day
> -------------------------------------------------------------
>
>                 Key: MIFOS-4583
>                 URL: http://mifosforge.jira.com/browse/MIFOS-4583
>             Project: mifos
>          Issue Type: Bug
>          Components: Holidays
>    Affects Versions: Elsie F
>            Reporter: Paweł Fryca
>            Assignee: keithwoodlock
>             Fix For: Elsie F - Iteration 10, Elsie F
>
>
> 1. Login to mifos with valid user name and password.
> 2. Click on "Admin" page
> 3. Click on "Define new holidays" link. 
> 4. Define a new holiday which started on current day. 
> Expected Result:
> The user is given an error message indicating that the from date with a date 
> of today is invalid. The error key for this is 'errors.fromdateexception' and 
> should be contained in the BusinessRuleException thrown.
> Actual Result:
> Screen shows exception
> org.mifos.service.BusinessRuleException
>       at 
> org.mifos.application.holiday.business.HolidayBO.validateFromDateAgainstCurrentDate(HolidayBO.java:249)
>       at 
> org.mifos.application.holiday.business.HolidayBO.validate(HolidayBO.java:235)
>       at 
> org.mifos.application.holiday.business.service.HolidayServiceImpl.create(HolidayServiceImpl.java:60)
>       at 
> org.mifos.application.holiday.persistence.HolidayServiceFacadeWebTier.createHoliday(HolidayServiceFacadeWebTier.java:63)
>       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.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
>       at 
> Some Background:
> This was caused during the transition from struts/jsp to spring mvc/ftl for 
> UI. Basically the spring controller isn't catching the runtime exception and 
> handling correctly.

-- 
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 modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to