question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App freezes after pasting elements on area of previously removed diagram

See original GitHub issue

Describe the Bug

Kapture 2019-08-13 at 13 32 19

Steps to Reproduce

  1. Open the diagram in modeler Test_Diagram.txt
  2. Copy the diagram.
  3. Press Ctl + V (do not complete paste operation)
  4. Press Clt + Z and remove/undo the diagram completely.
  5. Now Paste the copied diagram exactly at the place of the diagram which was removed.
TypeError: Cannot read property 'childNodes' of undefined
    at W._createContainer (GraphicsFactory.js:110)
    at W.create (GraphicsFactory.js:136)
    at C._addElement (Canvas.js:548)
    at C.addShape (Canvas.js:570)
    at Np.execute (CreateShapeHandler.js:54)
    at CommandStack.js:404
    at r._atomicDo (CommandStack.js:367)
    at r._internalExecute (CommandStack.js:398)
    at r.execute (CommandStack.js:147)
    at Fl.dl.createShape (Modeling.js:290)

Expected Behavior

The diagram should have been pasted.

Environment

  • OS: [MacOS 10.14.6 ]
  • Camunda Modeler Version: [Version 3.3.0-alpha.3 (3.3.0-alpha.3.3814)]

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pinussilvestruscommented, Oct 14, 2019
1reaction
barmaccommented, Aug 13, 2019

Dragging operations should be canceled when user executes a command while dragging.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Excel crashes when copying and pasting a power pivot chart ...
Excel is crashing when copying and pasting a Pivot Chart. The chart seems to get converted from a pivot chart to a normal...
Read more >
How to Fix Excel if It Freezes When You Copy and Paste
On a Windows computer, press the Windows key + I to bring up the Settings menu and go to Apps. There, select Microsoft...
Read more >
Excel freezes when copying / cutting to paste elsewhere
Go to the "Cut, copy, and paste" section. Uncheck "Show Paste Options button when content is pasted" and "Show Insert Options buttons".
Read more >
Copy and paste hangs for a long time or fails to work in ...
When trying to copy and paste elements in an AutoCAD drawing, the process hangs for a long time (even several minutes), or it...
Read more >
How to FIX Search Bar Crashes & Freezes in Windows 10 ...
Windows 10 search bar crashing or not working? ... menu/search bar may crash or close after typing, meaning you can't search on Windows...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found