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

DuplicateArticleIdException at publish to live

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.2.0 CE M3
    • Fix Version/s: 6.2.0 CE M6
    • Component/s: Staging
    • Labels:
    • Environment:
      Win7, IE9
    • Fix Priority:
      4

      Description

      I created a lot of users, organizations, and sites.
      After this, I set the staging to local live, then created some site templates.
      I didn't make any webcontent directly!
      I clicked on Staging -> Publish to Live Now -> Publish.
      At this time, I got an exception. Please see the error log in the attached file.

      I got this exception on an other way:
      My site was staged to local.
      I went to Manage -> Page.
      Added some pages. Modified them (Colors, Copy Portlets from Page)
      Exported the site.
      Deleted some page, then imported the site.
      I got the same error:

      "12:55:47,312 ERROR [http-bio-8080-exec-4][LayoutImporter:1392] No theme loaders are deployed
      12:55:49,096 WARN [http-bio-8080-exec-4][JournalPortletDataHandlerImpl:1160] A structure with the ID WELCOME-CONTENT-STRUCTURE already exists. The new generated ID is 14487
      12:55:49,125 WARN [http-bio-8080-exec-4][JournalPortletDataHandlerImpl:1337] A template with the ID WELCOME-CONTENT-TEMPLATE already exists. The new generated ID is 14489
      12:55:49,183 ERROR [http-bio-8080-exec-4][ImportLayoutsAction:101] com.liferay.portal.kernel.lar.PortletDataException: com.liferay.portlet.journal.DuplicateArticleIdException
      com.liferay.portal.kernel.lar.PortletDataException: com.liferay.portlet.journal.DuplicateArticleIdException
      at com.liferay.portal.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:144)
      at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:1059)
      at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:1000)
      at com.liferay.portal.lar.LayoutImporter.doImportLayouts(LayoutImporter.java:742)
      at com.liferay.portal.lar.LayoutImporter.importLayouts(LayoutImporter.java:145)
      at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importLayouts(LayoutLocalServiceImpl.java:1409)
      ..."

        Attachments

          Activity

            People

            Assignee:
            gabor.kovacs Gabor Kovacs
            Reporter:
            gabor.kovacs Gabor Kovacs
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              7 years, 20 weeks, 5 days ago

                Packages

                Version Package
                6.2.0 CE M6