You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2018/08/14 16:46:00 UTC
[jira] [Closed] (OFBIZ-10523) You can't create a New Payment Group
[ https://issues.apache.org/jira/browse/OFBIZ-10523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-10523.
-----------------------------------
Resolution: Fixed
Fix Version/s: 16.11.05
17.12.01
FIxed in
trunk r1838032
R17.12 r1838033
R16.11 r1838034
> You can't create a New Payment Group
> ------------------------------------
>
> Key: OFBIZ-10523
> URL: https://issues.apache.org/jira/browse/OFBIZ-10523
> Project: OFBiz
> Issue Type: Bug
> Components: accounting
> Affects Versions: Trunk, 17.12.01, 16.11.04
> Reporter: Jacques Le Roux
> Assignee: Jacques Le Roux
> Priority: Major
> Fix For: 17.12.01, 16.11.05
>
>
> I think this has never worked and nobody never cared to fix it. The error is
> {noformat}
> Caused by: org.apache.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:PaymentGroup][createdStamp,2018-08-14 18:33:40.669(java.sql.Timestamp)][createdTxStamp,2018-08-14 18:33:40.668(
> java.sql.Timestamp)][lastUpdatedStamp,2018-08-14 18:33:40.669(java.sql.Timestamp)][lastUpdatedTxStamp,2018-08-14 18:33:40.668(java.sql.Timestamp)][paymentGroupId,10050(java.lang.String)][paymentGroupName,Demo
> customer checks(java.lang.String)][paymentGroupTypeId,[, CHECK_RUN](java.lang.String)] (SQL Exception while executing the following:INSERT INTO OFBIZ.PAYMENT_GROUP (PAYMENT_GROUP_ID, PAYMENT_GROUP_TYPE_ID, P
> AYMENT_GROUP_NAME, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?) (INSERT on table 'PAYMENT_GROUP' caused a violation of foreign key constraint 'PAYMN
> TGP_PGTYPE' for key ([, CHECK_RUN]). The statement has been rolled back.))
> {noformat}
> Obviously there is a duplicated paymentGroupTypeId, it should a string not a list.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)