SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.94k stars 1.23k forks source link

Double appointmentSelect event in SinglePlanningCalendar #3949

Closed lyubomirakostovaa closed 6 months ago

lyubomirakostovaa commented 7 months ago

OpenUI5 version:

SAP UI5 version: 1.116.0 and 1.120.0

URL (minimal example if possible): https://sapui5.hana.ondemand.com/1.115.1/#/api/sap.ui.unified.CalendarAppointment%23overview

Steps to reproduce the problem:

  1. Open SinglePlanningCalendar.
  2. Select 'Day' or 'Week' view.
  3. The appointmentSelect event is fired twice.

What is the expected result? I expect the appointmentSelect to be fired once. The desired behaviour could be observed in 'Month' view.

Any other information? (attach screenshot if possible) A difference I have found is that the 'Day' and 'Week' views use SinglePlanningCalendarGrid but the 'Month' view uses SinglePlanningCalendarMonthGrid. I think inside those views is the logic for firing the events.

niyap commented 7 months ago

Hello @lyubomirakostovaa, Thank you for sharing this finding. I've created an internal incident DINC0041816. The status of the issue will be updated here in GitHub.

Regards, Niya

tsanislavgatev commented 6 months ago

Hello,

The fix for the issue was merged and it is in master branch.