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

Importing Categories and Vocabularies create duplicates instead of merging or overwriting

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.1.20 EE GA2, 6.1.X EE, 6.2.0 CE RC6
    • Component/s: Staging
    • Labels:
      None
    • Environment:
      App Server: Tomcat 7.0.42
      Database: MySQL 5.6
      JDK: 7u45
      Browser: Chrome 30
      OS: Debian 7

      Description

      Step 1: Create 2 new organizations as test_publish, test_remote. Make sure to select 'Create site' checkbox.
      Step 2: Selecte test_publish organization.
      Step 3: Create new Vocabulary as (Catalog) and add Category (New Category) and subcategory as (New Subcat).
      Step 5: Go to Web Content Export/Import option.
      Step 6: Export the Web Content with below options selected in an test_publish.portlet.lar file:

      • categories
      • permissions
        Step 7: Select test_remote organization.
        Step 8: Create new Vocabulary as (Catalog) and add Category (Cat Remote) and subcategory as (Subcat Remote).
        Step 9: Go to Web Content Export/Import option. Select Import option and choose the file. Check categories and permissions checkbox.
        Step 10: Go to Categories.

      Summary of results:
      Vocabulary 'Catalog' has been duplicated:
      Catalog
      Catalog (2)

      A warning message appears in console:
      08:34:51,285 WARN [http-bio-8181-exec-6][JournalPortletDataHandlerImpl:771] An article with the ID 18023 already exists. The new generated ID is 18043

      The expected output here is
      Catalog
      a. Cat remote
      a.i. Subcat Remote
      b. New Category
      b.i. New Subcat
      ------------------------------------------------------------

      • Test environment

      Portal version:
      6.1.20 - Reproduced
      6.1.x - Reproduced
      trunk - Reproduced
      App server: Tomcat 7.0.42
      Database: MySQL 5.6
      JDK: 7u45
      Browser: Chrome 30
      OS: Debian 7

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 40 weeks, 6 days ago

                Packages

                Version Package
                6.1.20 EE GA2
                6.1.X EE
                6.2.0 CE RC6