Completed
Last Updated: 13 Jan 2020 09:16 by ADMIN
Release R1 2020
Created by: Christian
Comments: 0
Category: Diagram
Type: Bug Report
1

Bug report

When exporting a diagram as a PDF, hidden shapes still visible. 

Reproduction of the problem

1. Run this dojo - https://dojo.telerik.com/oRUPUHOb/4
2. Click on "Mask" button
3. Click on "Save as PDF"
4. Open the exported PDF file

Expected/desired behavior

The shape State 1 must not be present on the exported PDF


Completed
Last Updated: 10 Jan 2022 16:04 by ADMIN
Created by: Michael D
Comments: 1
Category: Diagram
Type: Bug Report
0

The Typescript definitions for Kendo UI define the connections() method which is part of the kendo.dataviz.diagram.Shape interface as follows:

connections(type: string): void;

The documentation (https://docs.telerik.com/kendo-ui/api/javascript/dataviz/diagram/shape/methods/connections) however, specifies:

Returns the connections attached to the shape. You can optionally specify to return only the incoming or outgoing connections.

 

Therefore, connections() should not be of type void and the type parameter should be optional.

 

To solve this issue, we currently cast both the parameter and the result.