Hareeshchandera / jsplumb

Automatically exported from code.google.com/p/jsplumb
0 stars 0 forks source link

jsPlumb function failed : TypeError: Cannot set property 'locked' of null #335

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Here's the jsFiddle to my problem: http://jsfiddle.net/AdaFG/

Here are the steps to reproduce the bug:

1. Drag endpoint 1 to endpoint 3, endpoint 2 to endpoint 4
2. Drag endpoint 3 to endpoint 4
3. Then drag endpoint 1 to anywhere you want.

I have joined an image of what you should get.
The endpoint is not attached anymore to the container + if you try to connect 
it again, it won't.

Let me know if i missed something. 
Also, note that this bug is happening on the jsPlumb demo page as well.

Thank you,
Keven

Original issue reported on code.google.com by leadguit...@gmail.com on 12 Apr 2013 at 3:03

Attachments:

GoogleCodeExporter commented 8 years ago
which jsplumb demo page do you see this on?

Original comment by simon.po...@gmail.com on 12 Apr 2013 at 11:38

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
If you go on this page:
http://jsplumbtoolkit.com/jquery/draggableConnectorsDemo.html

The same problem occurs
Steps: 
1. make 2 connections with the blue endpoint like so: 1 to 3 and 2 to 4
2. take blue endpoint 1 and connect it to blue endpoint 4
3. take blue endpoint 3 and drag it somewhere

I've attached an image of what i'm seeing.

Also, if you try to drag the window after you did the steps above, the 
endpoints associated to the window don't follow anymore until you drag an 
endpoint somewhere.

Original comment by leadguit...@gmail.com on 15 Apr 2013 at 12:56

Attachments:

GoogleCodeExporter commented 8 years ago
When you drag the window after you did the steps above this is showing up in 
the console:
jsPlumb function failed : TypeError: Cannot read property 'isContinuous' of null

Original comment by leadguit...@gmail.com on 15 Apr 2013 at 1:01

GoogleCodeExporter commented 8 years ago
i couldn't reproduce the error in the flowchart demo but i could - on 
jsplumbtoolkit.com - on the draggable connectors demo.

i *think* it is related to this issue, which is fixed (although the error 
message is different it involves the same code):

https://code.google.com/p/jsplumb/issues/detail?id=289

i cannot reproduce in the draggable connectors demo in 1.4.0 development.

i don't suppose you could clone the github repo and test it locally, could you?

Original comment by simon.po...@gmail.com on 15 Apr 2013 at 9:38

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Yes, I've just tested it, and it's working perfectly in 1.4.0 
Thanks a lot. Do you know when 1.4.0 will be released ?

Original comment by leadguit...@gmail.com on 18 Apr 2013 at 1:52

GoogleCodeExporter commented 8 years ago
soon, hopefully!  i just need to finish off the documentation for it.

in the meantime you could build yourself a version if you wanted to:

https://github.com/sporritt/jsPlumb/wiki/Build

Original comment by simon.po...@gmail.com on 18 Apr 2013 at 11:52