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

jbrewster reassigned MIFOS-1880:
--------------------------------

    Assignee: Van Mittal-Henkle  (was: mifosdeveloperqueue)

Van, can you tell if this issue is still valid?

> Configuration.getInstance() messes up an existing Resultset during lazy 
> initialization
> --------------------------------------------------------------------------------------
>
>                 Key: MIFOS-1880
>                 URL: http://mifosforge.jira.com/browse/MIFOS-1880
>             Project: mifos
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: Release 1.0
>         Environment: Platform: All, OS: All
>            Reporter: pbiligi
>            Assignee: Van Mittal-Henkle
>             Fix For: Gazelle Backlog
>
>         Attachments: config-initialization-stktrace.txt, 
> FeePersistenceGetUpdatedFeesForCustomersTest.java
>
>
> When Configuration is getting initialized, it picks up the default currency
> using AccountingRules.getMifosCurrency(), which is actually a database call.
> If this process is done when an active ResultSet exists due to a just-executed
> query, the ConfigManager code overwrites this ResultSet. I'm seeing this error
> when I call FeePersistence.getUpdatedFeesForCustomer() which uses the
> MoneyCompositeUserType when generating the result.
> This is the call stack:
> Configuration.getInstance()
> Configuration.initialize()
> ConfigurationInitializer().initialize()
> ConfigurationInitializer().createSystemConfiguration()
> AccountingRules.getMifosCurrency()
> I'll be attaching a test case which uses
> FeePersistence.getUpdatedFeesForCustomer() to reproduce this bug. Also
> find stack trace attached.

-- 
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 Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to