[
http://mifosforge.jira.com/browse/MIFOS-4583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jbrewster updated MIFOS-4583:
-----------------------------
Status: Ready for Showcase (was: Ready for Testing / Resolved)
> 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: mifosqa
> 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 ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues