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

Importing a Site LAR does not import site preferences


    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.0 CE GA1, 6.2.0 CE M2
    • Labels:
    • Environment:
      Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 5b5c1ebf3dc030fd0a1fff2cc3d0de66538fbf04.
      Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 7d2307f609c411df835867e9df181984b92dab22.


      When a user imports a LAR that was been exported with a different theme, logo, javascript etc. set; the site preferences are not applied upon import. Only content (ie pages, portlets) are imported.

      Steps to reproduce:

      1. Add a page (Page1)
      2. Add a Navigation portlet
      3. Add a Blogs portlet
      4. Add a blog entry
      5. Go to > Control Panel > Site Pages
      6. Click Public Pages > Page1
      7. Click Add Child Page
        • Add Child Page 1
        • Add Child Page 2
      8. Click Public Pages > Look and Feel
        • Click Green radio button under Color Schemes
        • Save
      9. Click Logo
        • Upload an image to display as logo
        • Save
      10. Click JavaScript
        • Enter in text box
          alert('Welcome to Brazil');
        • Save
      11. Click Back to Liferay
        • Assert Logo, alert and green theme displays
      12. Click Manage > Site Pages > Export
      13. Flag all checkboxes
      14. Click Export
      15. Shutdown the app server and clean the database
      16. Restart Liferay
      17. Import the LAR
        The content of the LAR file imports correctly, but the site preferences are not applied when the pages are imported




            christine.pince Christine Pince (Inactive)
            kiyoshi.lee Kiyoshi Lee
            Participants of an Issue:
            Recent user:
            Esther Sanz
            0 Vote for this issue
            0 Start watching this issue


              Days since last comment:
              9 years, 21 weeks, 2 days ago


                Version Package
                6.1.1 CE GA2
                6.1.20 EE GA2
                6.2.0 CE M2