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

    Details

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

      Description

      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.

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  7.0.0 M4