[ 
http://mifosforge.jira.com/browse/MIFOS-3056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58240#action_58240
 ] 

Shahzada Hatim edited comment on MIFOS-3056 at 6/15/10 2:02 AM:
----------------------------------------------------------------

Edit: this is confirmed that problem is in the init (comparing it with head)

the present problem in the test is occurring  due to mismatch in what size is 
perceived to be in the test of the subcategories and what is actually there.

The subcategories  believe are initialized in FinancialInitializer

private static COABO hibernateInitalize(COABO coa) {
        Hibernate.initialize(coa);
        Hibernate.initialize(coa.getCOAHead());
        Hibernate.initialize(coa.getAssociatedGlcode());
        Hibernate.initialize(coa.getSubCategory());
        return coa;
    }

Upon putting a breakpoint, it seems that nothing is stored in the db when it 
comes to GLCode 31000. I HAVE compared it with head branch and GLCode 31000 
does store proper 10 values.



      was (Author: shahzada.hatim):
    the present problem in the test is occurring  due to mismatch in what size 
is perceived to be in the test of the subcategories and what is actually there.

The subcategories  believe are initialized in FinancialInitializer

private static COABO hibernateInitalize(COABO coa) {
        Hibernate.initialize(coa);
        Hibernate.initialize(coa.getCOAHead());
        Hibernate.initialize(coa.getAssociatedGlcode());
        Hibernate.initialize(coa.getSubCategory());
        return coa;
    }

Upon putting a breakpoint, it seems that nothing is stored in the db when it 
comes to GLCode 31000. I will compare it with head branch to see if that is the 
case.
  
> Fix COABOIntegrationTest failures
> ---------------------------------
>
>                 Key: MIFOS-3056
>                 URL: http://mifosforge.jira.com/browse/MIFOS-3056
>             Project: mifos
>          Issue Type: Dev Task
>          Components: Build and Testing
>            Reporter: Udai Gupta
>            Assignee: Shahzada Hatim
>   Original Estimate: 2 days
>  Remaining Estimate: 2 days
>


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

        

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Mifos-issues mailing list
Mifos-issues@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to