Issue
Steps to Reproduce:
1) Start a Liferay bundle
2) Add Calendar portlet to a page.
3) Go to Configurations of calendar portlet.
4) Go to display settings and do the following settings.
i) Enable only the Agenda view
ii) Select “Maximum Days to Display” as 0
iii) Select “Maximum Events to Display” 4 (default value)
5) Save the settings and publish the page
6) Go to Calendar and click on “Add Event”, give the following details:
i) Title as “My Event”
ii) start date as “03rd Feb 2023”
iii) End date as “07th Feb 2023" check “All day” check box
Note: The event should be of min. 5 days (start date and end date should be 5 days apart as we have the max display date value of 4 to check with the max value as well)
7) Click on Publish.
8) click on “03rd Feb 2023" to check 03rd Feb events and observe the behavior.
Expected Behaviour: Only the 03rd Feb 2023 event should be displayed as we have selected maxDaysDisplayed as 0.
Actual Behaviour: All 5 days' events are displayed. (03rd, 04th, 05th, 06th, 07th) with the same repeating event displayed.
Environment
- Liferay DXP U33
Resolution
- The observed behavior is a known issue and has been fixed in Liferay DXP U66.
- If a hotfix is required for this issue, please create a support ticket requesting a hotfix by attaching patch details.
- Installing Fix Packs and Hotfixes on LiferayDXP will guide you to install this hotfix in the respective environment.