[
http://mifosforge.jira.com/browse/MIFOS-4799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=65968#comment-65968
]
Stanley Kwok commented on MIFOS-4799:
-------------------------------------
I can confirmed that attaching 2 question groups (possibly more) to "Create
Savings" will cause problems. With mysql query logging turned on, a rollback
occurs somewhere near the end of the the transaction. In the code, the location
where this occurs is in LegacyAuditDAO's save() method. The first thing the
method does is close the session.
When saving question responses with
QuestionnaireServiceFacadeImpl.saveResponses(), the method looks for the second
last QG for a given entity. If it finds that QG, the method will invoke the
audit service. Because we've already inserted 2 QGs, saveResponses() is going
to find the second last set and invoke the audit service. With 1 QG, the audit
code only finds 1 QG and audit logging is skipped.
> 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
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues