[
http://mifosforge.jira.com/browse/MIFOS-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jbrewster updated MIFOS-2053:
-----------------------------
Status: Verified (was: Resolved)
> Exception generated for second user when bulk entry lock times out on first
> user
> --------------------------------------------------------------------------------
>
> Key: MIFOS-2053
> URL: http://mifosforge.jira.com/browse/MIFOS-2053
> Project: mifos
> Issue Type: Bug
> Components: Collection Sheet Entry
> Affects Versions: Release 1.1
> Environment: Platform: All, OS: All
> Reporter: jbrewster
> Assignee: mifosdeveloperqueue
> Priority: Critical
> Fix For: Gazelle Backlog
>
>
> Logging this bug to note a side effect of changes made for issue 2011. With
> that change, mifos now locks the center being updated with bulk entry changes
> as
> soon as the user goes to the Preview screen for bulk entry.
> If user A navigates to preview screen to start the lockout period of that
> center, then user B user waits until the timer has expired then submits
> changes,
> then when user A submits changes on the same center, following exception
> comes up:
> org.hibernate.StaleObjectStateException: Row was updated or deleted by another
> transaction (or unsaved-value mapping was incorrect)
> Repro steps:
> 1. Load standard test data set.
> 2. Create custom applicationConfiguration.custom.properties file with
> following
> entry: GeneralConfig.PerCenterTimeOutForBulkEntry=1
> This will set the timeout to one minute
> 3. Log on to mifos using mifos account and enable mifos_officer4 account as
> admin.
> 4. Logon to mifos in IE browser using mifos account. (user a)
> 5. Logon to mifos in Firefox browser using mifos_officer4 account. (user b)
> 6. In both sessions, click Enter Collection Sheet data link under Clients &
> Accounts.
> 7. Select Branch office 1, mifos officer4, center weekly 2 for both users.
> 8. Continue. Click preview for user A
> 9. Click continue for user B, note lockout message with timer.
> 10. wait for timer to expire for user B. When minute is over, click continue,
> submit.
> 11. Try submit for user A.
> Actual result:
> Exception noted above appears for user A.
--
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
------------------------------------------------------------------------------
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues