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

Staging can't be turned on with page scoped content

    Details

      Description

      Reproduction:

      1. Add a widget which can be scoped, e.g. Blogs
      2. Config the widget -> Scope tab -> Create a new Page scope
      3. Go to control panel -> Content -> Select the page scope
      4. Navigate to Web Content
      5. Add a new Web Content
      6. Turn on staging

      Actual:
      Error: An unexpected error occurred with the initial staging publication. org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into Group_ (mvccVersion, uuid_, companyId, creatorUserId, classNameId, classPK, parentGroupId, liveGroupId, treePath, groupKey, name, description, type_, typeSettings, manualMembership, membershipRestriction, friendlyURL, site, remoteStagingGroupCount, inheritContent, active_, groupId) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update

      Exception on console
      Stack trace

      master 50b613be9

        Attachments

          Activity

            People

            • Assignee:
              david.varga David Varga (Inactive)
              Reporter:
              david.varga David Varga (Inactive)
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 23 weeks, 4 days ago

                Packages

                Version Package
                7.1.10 DXP FP1
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master