openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Sap/m/SinglePlanningCalendarGrid is trying to get the appointment by the querySelector, which doesn't work

Open maxbenek opened this issue 3 years ago • 2 comments

OpenUI5 version: 1.108.2

Browser/version (+device/version): Browser: Google Chrome / 90.0.4430.72 System: LENOVO_MT_20NY_BU_Think_FM_ThinkPad T490s Microsoft Windows 10 Enterprise / Version 10.0.19045 Build 19045

Any other tested browsers/devices(OK/FAIL): Microsoft Edge / 111.0.1661.41 FAIL

URL (minimal example if possible):

User/password (if required and possible - do not post any confidential information here):

Steps to reproduce the problem:

  1. Open the SinglePlanningCalendar
  2. Switch the Calendar View to Week/WorkWeek/Day (Note: This problem also appears if the initial view is one of the named views)

What is the expected result? The Appointments start at their set StartDate and end at their EndDate

What happens instead? The Appointments start at 00:00 or 01:00 and end at 23:00 or 24:00 regardless of their startDate and endDate parameters

Any other information? (attach screenshot if possible) image

image

Apparently the Sap/m/SinglePlanningCalendarGrid is trying to get the appointment by the querySelector, which doesn't work. Getting the Appointment without the added ["-"+i+"_"+c] seems to work.

maxbenek avatar Mar 16 '23 09:03 maxbenek

Hello @maxbenek ,

Could you please provide an isolated example of the reproducible issue in JSBin?

Thank you in advance!

JumpNRun avatar Mar 16 '23 17:03 JumpNRun

Hello,

We found an issue with a hidden customization which caused the calendar issue.

We can close the ticket. Thank you for your support.

maxbenek avatar Mar 23 '23 08:03 maxbenek