[
http://mifosforge.jira.com/browse/MIFOS-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60682#action_60682
]
Lukasz Chudy commented on MIFOS-3419:
-------------------------------------
Verified on 12.10.2010
Now there isn't any error displayed during Loan creation.
Commit: b4e64fa30a6e9b490211e7a849f28405fc839120
Build Number: hudson-head-1.7.x-22
Branch Name: origin/1.7.x
> InvalidDateException during loan creation when using date type custom fields
> ----------------------------------------------------------------------------
>
> Key: MIFOS-3419
> URL: http://mifosforge.jira.com/browse/MIFOS-3419
> Project: mifos
> Issue Type: Bug
> Components: Loan Account
> Affects Versions: Release E
> Reporter: Jakub Sławiński
> Assignee: Jakub Sławiński
> Priority: Major
> Fix For: Release E - Iteration 2, Release E
>
>
> Step to reproduce:
> 1. define custom field of date type for loan account
> 2. try to create loan
> EXPECTED:
> loan is properly created
> ACTUAL:
> after clicking 'submit for approval' an error is displayed (red dot without
> any message).
> Investigation shows the following root cause:
> org.mifos.application.admin.servicefacade.InvalidDateException:
> exception.validation.InvalidDate
> at
> org.mifos.framework.util.helpers.DateUtils.convertUserToDbFmt(DateUtils.java:80)
> at
> org.mifos.accounts.business.AccountBO.addcustomFields(AccountBO.java:464)
> at org.mifos.accounts.loan.business.LoanBO.<init>(LoanBO.java:292)
> at org.mifos.accounts.loan.business.LoanBO.<init>(LoanBO.java:252)
> at org.mifos.accounts.loan.business.LoanBO.createLoan(LoanBO.java:447)
> at
> org.mifos.application.servicefacade.LoanServiceFacadeWebTier.assembleLoan(LoanServiceFacadeWebTier.java:493)
> at
> org.mifos.application.servicefacade.LoanServiceFacadeWebTier.createLoan(LoanServiceFacadeWebTier.java:606)
> at
> org.mifos.accounts.loan.struts.action.LoanAccountAction.create(LoanAccountAction.java:807)
> Shamim D is not affected by this bug, because it appeared after introduction
> of LoanServiceFacadeWebTier. It seems that convertUserToDbFmt method is
> called twice for the same custom field. However, this is a wrong design of
> date type custom fields.
--
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
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues