Customer Search Id Generation using Max_child_count value
---------------------------------------------------------

                 Key: MIFOS-2915
                 URL: http://mifosforge.jira.com/browse/MIFOS-2915
             Project: mifos
          Issue Type: Bug
          Components: Groups
    Affects Versions: Release 1.4, Release 1.3.1, Release 1.3, Release 1.4.3, 
Release 1.5, Release 1.5.0.1, Release 1.5.1, Shamim D
            Reporter: keithwoodlock
            Priority: Major


search ids are generated and assigned to a customer (client, group, center) on 
creation and when groups or clients are transfered to new parent entities.

The problem is that it uses the max_child_count value as part of the search_id 
string. This value is incremented for each parent when a child customer is 
added to its hierarchy. It is also decremented when the child is 
removed/transfered out. By decrementing, it is possible to have a scenario 
whereby new customers are assgned a search_id that is the same as existing 
siblings.

The result of this on the application is not totaly understood but certainly 
for groups and centers can cause problems as seen in other issues such as 
MIFOS-2737 and MIFOS-2652.

As part of build https://ci.mifos.org:8843/hudson/job/trunk/1247, the ability 
to decrement max_child_count was removed. Upgrade 240 may need to be updated to 
facilate edge case of max_child_count+1 being less than the value used when 
creating search_id of other siblings.

-- 
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

Reply via email to