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

Calendar portlet exporting feature is not exporting events into the LAR file


    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 M4
    • Fix Version/s: 7.0.0 M4
    • Component/s: Calendar
    • Labels:


      Exporting a LAR file containing calendar data will not include the events.

      Steps to reproduce

      1. Start up Liferay. Deploy the calendar portlet. Add it to a page.
      2. Create an event in the current site's calendar.
      3. Click in the Cog Menu () > Export / Import:
      4. Click in "Export".
      5. Once the export process is done, download the LAR file.
      6. Open the LAR file as a ZIP file.
      7. Go into /group/<site's group id> directory. See the available directories.
      8. Create a new site. Add a page to this site. Add the calendar portlet to this page.
      9. Click in the Cog Menu > Export / Import. Click in "Import"
      10. Import the downloaded LAR file.
      11. Close the dialog. Look at the calendar.

      Expected results

      • At step 7, a directory named com.liferay.calendar.model.CalendarBooking would be available. There would be an XML file inside this directory with the event's data.
      • At step 11, an event would appear in the new site's calendar.

      Actual results

      • At step 7, no com.liferay.calendar.model.CalendarBooking directory is found:
      • At step 11, no event is in the calendar.


        1. fixed.png
          83 kB
          Joyce Wang
        2. fixed1.png
          34 kB
          Joyce Wang
        3. import-export.png
          9 kB
          Adam Brandizzi
        4. no-calendar-booking-directory.png
          73 kB
          Adam Brandizzi

          Issue Links



              joyce.wang Joyce Wang
              adam.brandizzi Adam Brandizzi
              Participants of an Issue:
              Recent user:
              Esther Sanz
              0 Vote for this issue
              1 Start watching this issue


                Days since last comment:
                5 years, 41 weeks, 3 days ago


                  Version Package
                  7.0.0 M4