Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10523

You can't create a New Payment Group

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk, 17.12.01, 16.11.04
    • Fix Version/s: 17.12.01, 16.11.05
    • Component/s: accounting
    • Labels:
      None

      Description

      I think this has never worked and nobody never cared to fix it. The error is

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

      Obviously there is a duplicated paymentGroupTypeId, it should be a string not a list.

        Attachments

          Activity

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              jacques.le.roux Jacques Le Roux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: