[ 
https://issues.apache.org/jira/browse/OFBIZ-1273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548270
 ] 

Marco Risaliti commented on OFBIZ-1273:
---------------------------------------

I have tested and this bug has been solved today with rev. 600881 by lektran, 
so I think that this issue can be closed.

Thanks
Marco

> fin account unit tests fail
> ---------------------------
>
>                 Key: OFBIZ-1273
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1273
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Si Chen
>
> Could somebody please do an $ ant run-tests and see if they also get this:
>      [java] org.ofbiz.entity.GenericDataSourceException: SQL Exception while 
> executing the following:INSERT INTO public.FIN_ACCOUNT (FIN_ACCOUNT_ID, 
> FIN_ACCOUNT_TYPE_ID, FIN_ACCOUNT_NAME, FIN_ACCOUNT_CODE, FIN_ACCOUNT_PIN, 
> CURRENCY_UOM_ID, ORGANIZATION_PARTY_ID, OWNER_PARTY_ID, 
> POST_TO_GL_ACCOUNT_ID, FROM_DATE, THRU_DATE, IS_FROZEN, IS_REFUNDABLE, 
> REPLENISH_PAYMENT_ID, REPLENISH_LEVEL, ACTUAL_BALANCE, AVAILABLE_BALANCE, 
> LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) 
> VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) 
> (ERROR: insert or update on table "fin_account" violates foreign key 
> constraint "finacct_type"
>      [java]   Detail: Key (fin_account_type_id)=(BALANCE_ACCOUNT) is not 
> present in table "fin_account_type".)
>      [java] 
> org.ofbiz.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java:433)
>      [java] 
> org.ofbiz.entity.datasource.GenericDAO.singleInsert(GenericDAO.java:169)
>      [java] org.ofbiz.entity.datasource.GenericDAO.insert(GenericDAO.java:116)
>      [java] 
> org.ofbiz.entity.datasource.GenericHelperDAO.create(GenericHelperDAO.java:68)
>      [java] 
> org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:562)
>      [java] 
> org.ofbiz.minilang.method.entityops.CreateValue.exec(CreateValue.java:67)
>      [java] org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:934)
>      [java] org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:571)
>      [java] 
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:108)
>      [java] 
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>      [java] 
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>      [java] 
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>      [java] 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
>      [java] 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>      [java] 
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
>      [java] 
> org.ofbiz.accounting.test.FinAccountTests.testCreateFinAccount(FinAccountTests.java:64)
>      [java] 2007-09-27 10:46:13,350 (main) [   TestRunContainer.java:99 :INFO 
> ] --> testDeposit(org.ofbiz.accounting.test.FinAccountTests): The following 
> required parameter is missing: [finAccountDeposit.finAccountId]
>      [java] 2007-09-27 10:46:13,350 (main) [   TestRunContainer.java:99 :INFO 
> ] --> testWithdraw(org.ofbiz.accounting.test.FinAccountTests): The following 
> required parameter is missing: [finAccountWithdraw.finAccountId]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to