Details

    • Branch Version/s:
      6.2.x
    • Backported to Branch:
      Committed
    • Story Points:
      5
    • Fix Priority:
      4
    • Similar Issues:
      Show 5 results 

      Description

      When a new site is created with categories, and something (like an asset publisher) references them, if you export the site and then re-import, it fails with an error about missing references due to missing categories. steps to reproduce:

      1. Create a new site
      2. Add a single vocabulary with a single category
      3. Create a piece of web content on the site, and categorize it with the category created in step 2
      4. Add an asset publisher portlet to one of the site's pages, and configure the AP to show assets in that category only.
      5. Export the site's public pages from Site Admin->Pages->Export
      6. Create a new (blank) site
      7. Attempt to import the LAR file from step 5 (Site Admin->Pages->Import), observe failure (see screenshots)

      Workaround: remove Category missing-references element from manifest.xml (inside of LAR file) before import.

      Another potential workaround: manually create missing categories and vocabularies before import.

      1. image001.png
        38 kB
      2. lar_structure_error.png
        36 kB
      3. Screen Shot 2014-01-16 at 5.21.36 PM.png
        51 kB
      4. Screen Shot 2014-01-16 at 5.23.14 PM.png
        79 kB
      5. Screen Shot 2014-01-16 at 5.23.59 PM.png
        70 kB
      6. Screen Shot 2014-01-16 at 5.25.09 PM.png
        77 kB
      7. Screen Shot 2014-01-16 at 5.25.59 PM.png
        51 kB

        Issue Links

          Activity

          Hide
          Kenneth Chang (Inactive) added a comment -

          Hey Milen,

          I'm still unable to reproduce on trunk with the steps you provided. Did you test on trunk, too?

          Show
          Kenneth Chang (Inactive) added a comment - Hey Milen, I'm still unable to reproduce on trunk with the steps you provided. Did you test on trunk, too?
          Hide
          Mate Thurzo added a comment -

          Hey guys,

          I'm working on this for a customer now, which is urgent, I'll take over the LPS, and commit the solution for both trunk and 6.2.x

          Thanks,

          Máté

          Show
          Mate Thurzo added a comment - Hey guys, I'm working on this for a customer now, which is urgent, I'll take over the LPS, and commit the solution for both trunk and 6.2.x Thanks, Máté
          Hide
          Mate Thurzo added a comment -

          I've also backported the related test update from the pull to master: https://github.com/brianchandotcom/liferay-portal-ee/pull/4596

          Show
          Mate Thurzo added a comment - I've also backported the related test update from the pull to master: https://github.com/brianchandotcom/liferay-portal-ee/pull/4596
          Hide
          Hong Zhao added a comment -

          This is blocked by LPS-45379, same error message displayed in console while testing in master and ee-6.2.x EE bundle.

          Show
          Hong Zhao added a comment - This is blocked by LPS-45379 , same error message displayed in console while testing in master and ee-6.2.x EE bundle.
          Hide
          Hong Zhao added a comment -

          PASSED Manual Testing following the steps in description.

          Reproduced on:
          Tomcat 7.0.42 + MySQL 5.5.29. Portal master GIT ID: 43b42ce467da3c2301dde7d5fe425d650c75bc14.

          The LAR file can not be imported from step 5, error message displayed on screen.

          Fixed on:
          Tomcat 7.0.42 + MySQL 5.5.29. Portal master GIT ID: a85467604355256c4ab89a78963fcf942242c3a7.
          Tomcat 7.0.42 + MySQL 5.5.29. Portal ee-6.2.x EE GIT ID: d779211e12160c04bdd3a6a2af19c08959342fbe

          The LAR file could be imported from step 5, no error message displayed on screen, AP with the WC could be displayed on new created site.

          Show
          Hong Zhao added a comment - PASSED Manual Testing following the steps in description. Reproduced on: Tomcat 7.0.42 + MySQL 5.5.29. Portal master GIT ID: 43b42ce467da3c2301dde7d5fe425d650c75bc14. The LAR file can not be imported from step 5, error message displayed on screen. Fixed on: Tomcat 7.0.42 + MySQL 5.5.29. Portal master GIT ID: a85467604355256c4ab89a78963fcf942242c3a7. Tomcat 7.0.42 + MySQL 5.5.29. Portal ee-6.2.x EE GIT ID: d779211e12160c04bdd3a6a2af19c08959342fbe The LAR file could be imported from step 5, no error message displayed on screen, AP with the WC could be displayed on new created site.

            People

            • Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

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

                Development

                  Structure Helper Panel