Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-5145

Error using API to create product with Publications enabled

    Details

    • Severity of Issue:
      Major
    • OS:
      Ubuntu LTS 18.04
    • JDK:
      Oracle Sun JDK 8
    • Application Servers:
      Apache Tomcat 9.0.x
    • Browsers:
      Chrome (latest)
    • Databases:
      MySQL 5.7
    • Device Type:
      Desktop
    • Search:
      Elasticsearch 7.x

      Description

      Hello,
      I am using the Headless API to create a product with a DXP 7.3 instance, and everything goes fine.

      But using the same Headless API (create a product) in a Liferay instance with Publications enabled i get this error:

      "status" : "INTERNAL_SERVER_ERROR", "title" : "CT transaction validation failure. Nested operation using co[email protected]456f8253 can only be performed in production mode." }

      Note: I was using the Talend Connector as gateway to the APIs, and this error happens when in the Publications UI selector the option "Work in my custom publication" is selected.

        Attachments

          Activity

            People

            Assignee:
            shuyang.zhou Shuyang Zhou
            Reporter:
            daniel.defrancisco Daniel De Francisco
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.3 FP1
                7.3.X