Cannot read property 'connections' of undefined

3 posts, 1 answers
  1. Ralph
    Ralph avatar
    17 posts
    Member since:
    May 2011

    Posted 26 Jan 2015 Link to this post

    Hello,

    I am having an issue with the diagram that occurs when I try to set the connectors property on the ShapeOptions for a new Shape.
    I only want to show the left and right connectors which works fine, however if I do not release the connector exactly on top of the connector handle I receive the error: Cannot read property 'connections' of undefined. If I do not set the connectors property releasing the connector anywhere on the shape will cause the diagram to map it to the best path as expected.
    I have created a sample in the Dojo: http://dojo.telerik.com/iREkA/8

    Thanks
  2. Ralph
    Ralph avatar
    17 posts
    Member since:
    May 2011

    Posted 26 Jan 2015 in reply to Ralph Link to this post

    This issue can be closed. Adding "auto" to the list has fixed the issue, however the diagram shouldn't generate an error if this occurs.
  3. Kendo UI is VS 2017 Ready
  4. Answer
    Daniel
    Admin
    Daniel avatar
    2117 posts

    Posted 28 Jan 2015 Link to this post

    Hello Ralph,

    Indeed, you are right. The connection assumes that there is an auto connector and will throw an error if there isn't. We will fix this for one of the next internal builds and I also updated your Telerik points for the bug report.

    Regards,
    Daniel
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top