Exporting a LAR file containing calendar data will not include the events.
Steps to reproduce
- Start up Liferay. Deploy the calendar portlet. Add it to a page.
- Create an event in the current site's calendar.
- Click in the Cog Menu (
) > Export / Import:
- Click in "Export".
- Once the export process is done, download the LAR file.
- Open the LAR file as a ZIP file.
- Go into /group/<site's group id> directory. See the available directories.
- Create a new site. Add a page to this site. Add the calendar portlet to this page.
- Click in the Cog Menu > Export / Import. Click in "Import"
- Import the downloaded LAR file.
- 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.
- Discovered while testing
-
LPS-46845 Adding a comment to a calendar event causes LAR import to fail
- Closed