openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Gantt Chart Container with StepWiseZoomStrategy

Open flotxi opened this issue 5 years ago • 3 comments

OpenUI5 version: 1.71.22

Browser/version (+device/version): Chrome

Any other tested browsers/devices(OK/FAIL): Not tested.

URL (minimal example if possible): https://sapui5.hana.ondemand.com/1.71.22/#/entity/sap.gantt.simple.GanttChartContainer/sample/sap.gantt.sample.GanttChartContainer

Steps to reproduce the problem:

  1. Download Example for GanttChartContainer
  2. Change the AxisTimeStrategy to StepwiseZoomStrategy
  3. Run the app
  4. Change the Dropdon for displayed GanttCharts to Resource
  5. Change it back to Requirement And Resource
  6. Change it back to Resource
  7. Change it back to Requirement And Resource

What is the expected result? The displayed GanttCharts are switched and I can see the shapes

What happens instead? I get a JavaScript Error saying: Uncaught TypeError: Cannot read property 'getTime' of null: image

flotxi avatar Mar 23 '21 12:03 flotxi

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

kskondov avatar Mar 23 '21 14:03 kskondov

Hello @flotxi,

This issue should be fixed in UI5 version 1.71.32 and above, can you please check and confirm?

Best Regards, Konstantin

kskondov avatar Mar 25 '21 07:03 kskondov

Hi @kskondov,

indeed the issue is fixed with 1.71.32.

Thanks a lot! Florian

flotxi avatar Mar 25 '21 09:03 flotxi