if multiple instances of the same one-time fee are added to a loan, clicking on 
the remove link next to one instance may remove another instance
------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: MIFOS-4675
                 URL: http://mifosforge.jira.com/browse/MIFOS-4675
             Project: mifos
          Issue Type: Bug
          Components: Fee
    Affects Versions: Elsie F
            Reporter: Van Mittal-Henkle


If multiple instances of the same one-time fee are added to a loan account, 
clicking on the remove link next to one instance may remove another instance.

The reason is that the remove links for one time fees (and recurring fees) only 
include the id of the feeBO (the fee definition) not the AccountFeesEntity (the 
fee instance).  So if we have one time fee FeeX with id=1, and we apply it 3 
times with amounts 1, 10, 100 we will see 3 FeeX entries with the amounts and 
remove links.  Each link will hvae the id=1, so when we click on the remove 
link for FeeX with amount 1, it may end up removing FeeX with amount 100 if 
that instance happens to come first in the database

The short term solution discussed with Kay is to make it so that only one 
instance of a given fee can be added.


-- 
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 ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to