Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-73756

ConstraintViolationException connected to Web Content publication

    Details

      Description

      Steps to reproduce:

      1. Create a Site with a page
      2. Activate Staging, select all content to Staged Content in Staging Configuration
      3. Create a Web Content entry from Content
      4. Go to Advanced Publication
      5. In Content section choose Choose Content -> Last...
      6. "Refresh Count"
      7. Publish
      8. In live move the Web Content to the recycle bin**
      9. Go back to Staging, Advanced Publication
      10. In Content section choose Choose Content -> Last...
      11. "Refresh Count"
      12. Publish

      Expected result: Publication is successful, the Web Content is restored from the recycle bin

       

      Actual result: Publication is failing with the following error message on screen:

      "An unexpected error occurred with the publication process. Please check your portal and publishing configuration.

      The following error in Web Content while importing its data has stopped the process: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update"

       

      See stack trace attached.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 34 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 DXP FP50
                7.0.0 DXP SP8
                7.0.X
                7.1.X
                Master