[
http://mifosforge.jira.com/browse/MIFOS-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jbrewster updated MIFOS-2252:
-----------------------------
Component/s: Custom Properties
(was: Configuration)
> Process flow trapdoor settings still rejected when no clients exist
> -------------------------------------------------------------------
>
> Key: MIFOS-2252
> URL: http://mifosforge.jira.com/browse/MIFOS-2252
> Project: mifos
> Issue Type: Bug
> Components: Custom Properties
> Affects Versions: Release 1.2
> Environment: Platform: All, OS: All
> Reporter: jbrewster
> Assignee: mifosdeveloperqueue
> Priority: Major
> Fix For: Unscheduled
>
> Attachments: localhost.2008-11-12.log
>
>
> If I set the trapdoor process flow settings, e.g.
> 'ClientPendingApprovalStateEnabled', to false prior to populating the Mifos DB
> with customer data, the application will still reject the setting and Mifos
> will
> fail to start. This is due to running the latest-data.sql script which
> enables
> these settings in the customer_state and account_state tables.
> Repro steps:
> 1. drop existing mifos DB.
> 2. Create and initialize DB using sql scripts we provide with sourceforge
> download package:
> mysql -u root -pmysql < sql/create_mifos_db.sql
> mysql -D mifos -u root -pmysql < sql/latest-schema.sql
> mysql -D mifos -u root -pmysql < sql/latest-data.sql
> mysql -D mifos -u root -pmysql < sql/init_mifos_password.sql
> 3. Place custom application properties file in tomcat path set some of the
> trapdoor process flow settings like LoanPendingApprovalStateEnabled and
> ClientPendingApprovalStateEnabled to false.
> 4. Deploy mifos.war and start tomcat.
> Expected result:
> Mifos deployed and trapdoor settings are used since no customer data has been
> entered.
> Actual result:
> Tomcat fails to start. Error in tomcat log reports:
> "The value for key ProcessFlow.ClientPendingApprovalStateEnabled in the file
> applicationConfiguration.custom.properties must to be set to 1 because it was
> set to 1 in the database, hence can't be set to to 0 in the custom
> configuration
> file as this might invalidate existing data. Records for clients in the
> 'pending
> approval' state may already exist. Also,
> applicationConfiguration.default.properties must never be changed--make sure
> this file is untouched."
> full log attached to issue. Tested with revision v...@14040.
--
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