[
http://mifosforge.jira.com/browse/MIFOS-4799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=66047#comment-66047
]
Stanley Kwok commented on MIFOS-4799:
-------------------------------------
There is a bug in the way QuestionnaireServiceFadeImpl.saveResponses() finds
old questionnaire responses for audit logging. Because of this bug, audit
logging is invoked when it wasn't necessary. Audit logger calls
LegacyAuditDao's save() method which closes the hibernate session before doing
anything. The closing of hibernate session resulted in a rollback. Because
SavingsServiceFacadeWebTier still holds a reference to a savings account object
which is no longer in the database, subsequent call to get account details
using the account object's ID will result in an NPE.
The fix corrected the logic used to find old questionnaire responses. As a
result, audit logging is by-passed when inserting new questionnaire responses.
> Stack trace with new create savings workflow when clicking save
> ---------------------------------------------------------------
>
> Key: MIFOS-4799
> URL: http://mifosforge.jira.com/browse/MIFOS-4799
> Project: mifos
> Issue Type: Bug
> Components: Savings Account
> Affects Versions: Release G
> Environment: http://ci.mifos.org:8085/mifos
> Reporter: jbrewster
> Assignee: Stanley Kwok
> Priority: Critical
> Fix For: Release G - Iteration 2, Release G
>
> Attachments: savingsStackTrace.txt
>
>
> Hit stack trace when clicking "save for approval" on newly created savings
> account.
> Repro steps:
> 1. search for client: e.g. Maripi Caisip
> 2. Pick savings instance name: e.g. savprodA
> 3. continue through savings workflow and click "save for approval".
> expected:
> success page
> actual:
> stack trace
>
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues