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

Issue importing fragment into an existing site

    Details

      Description

      Steps to reproduce:

      1. Create a site "SiteA"
      2. Create a User Group "SiteA"
      3.  Create a workspace with a collection and a couple of fragments
      4. Open a terminal session from the folder
      5. run command npm install to get dependencies
      6. Go to SiteA > Site Builder > Page Fragments
      7. In the terminal run the command npm run import
      8. Refresh the browser

      Expected Results
      
The Collection appears containing 2 fragments

      Actual Results

      • The Collection does not appear with its fragments
      • The Collection is imported into the user group's site with the same name as the regular site's

       


      Original steps to reproduce

      1. Create a workspace with a collection and a couple of fragments
      2. Open a terminal session from the folder
      3. run command npm install to get dependencies
      4. Go to Site Builder > Page Fragments
      5. In the terminal run the command npm run import
      6. Refresh the browser

      Expected Results
      
The Collection appears containing 2 fragments

      Actual Results

      The Collection does not appear with its fragments


      Versioning tested
      DXP Cloud: 
      liferay.workspace.lcp.liferay.image=liferaycloud/liferay-dxp:7.2.10-sp1-fp4-3.0.17

      npm 6.9.0

      *npm list -g --depth=0*
      
      ├── expo-cli@3.11.9 
      ├── generator-liferay-fragments@1.6.0 
      ├── npm@6.14.3 
      ├── sass@1.26.1 
      └── yo@3.1.1
      
      *npm list --depth=0*
      
      ├── generator-liferay-fragments@1.6.0 
      ├── node-sass@4.13.1 
      ├── npm-run-all@4.1.5 
      └── onchange@6.1.0

      node 10.16.3

       

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            daniel.couso Daniel Couso
            Participants of an Issue:
            Recent user:
            Jason Pince
            Engineering Assignee:
            Pavel Savinov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              29 weeks, 1 day ago

                Packages

                Version Package
                7.3.10 DXP GA1
                Master