[
http://mifosforge.jira.com/browse/MIFOS-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
keithwoodlock updated MIFOS-1512:
---------------------------------
Fix Version/s: (was: Mifos Backlog)
Unscheduled
> Implement equals/hashCode in Entity classes using business key (refactor id
> only equals/hashcode)
> -------------------------------------------------------------------------------------------------
>
> Key: MIFOS-1512
> URL: http://mifosforge.jira.com/browse/MIFOS-1512
> Project: mifos
> Issue Type: Bug
> Components: Misc
> Affects Versions: Release 1.1
> Environment: Platform: All, OS: All
> Reporter: orionlee
> Assignee: mifosdeveloperqueue
> Labels: volunteer
> Fix For: Unscheduled
>
> Attachments: issue1512_prdofferingfee_testcase.patch
>
>
> It's a follow-up of issue 1511.
> Here I call out a higher-priority issue: that the following persistent objects
> defines custom equals() without a custom hashCode() implementation.
> OfficeBO
> LoanOfferingFundEntity
> PrdOfferingMeetingEntity
> LoanOfferingFeeEntity
> So it'd be possible that the same persistent entity got added twice in some
> java
> collection incorrectly (HashMap, HashSet, etc.).
> as of 12183,
> - It's confirmed they're added to some Hash-based collection (revealed by
> running unittest against custom code to throw assert error upon running error
> code)
> - unclear yet whether the higher-level code will trigger the code paths that
> surface the bugs in a way that causes serious errors, e.g., incorrectly
> persisting the same LoanOfferingFundEntity object multiple times in the
> database.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues