JSon-Editor
JSon-Editor copied to clipboard
Cut and Paste nodes fails
When cutting a node, the cut node remains in the object, causing a pasting of the node to give the error: "Can not add property
Steps to reproduce:
- File -> New -> New JSON Object
- Right click root -> JSON Object -> Insert Property As Value. Repeat this step 3 times. I find it helpful to rename one of these to something more obvious then their default names.
- Right click the middle node -> Edit -> Cut. Note that the value cut remains in the Object. 4a) Right click last node -> Edit -> Paste After Node. Note that an exception understandably fires. --or-- 4b) Right click middle node -> Edit -> Delete Node 5b) Right click last node -> Edit -> Paste After Node. Note that the node is correctly created in the right spot, but an exception is fired. Also of note, saving this document correctly outputs the expected .json file.
Version 1.5.0.38272. Windows 7 N 64bit