Greetings. I'll use a very simple flow example comprising of an injection node and a debug node for my question:
Both nodes have the name ‘sensor01’ in them, as well as in other fields/variables.
Problem: if I do a copy/paste to nodered's internal clipboard, new nodes' IDs will be auto-generated, runtime can be saved - no problem.
But, lets say I want to EDIT the clipboard contents BEFORE pasting. In this case, I use the EXPORT nodes to clipboard, edit on a non-intrusive text editor, COPY that and IMPORT back to nodered with, say, changes like 'sensor01' now to 'sensor02'. Doing it this way, even with unique nodes ID (no duplicates) is crashing my nodered v.4.0.2, ultimately giving me a '502 - Bad Gateway' , restarting and not saving the changes.
Questions: Why can´t I bring back via IMPORT clipboard contents? Even if I don't change ANYTHING in the original EXPORTed clipboard contents, I still get nodered to 'crash'. If nodered editor finds the duplicate IDs, the option to 'copy' nodes appear but, alas, crashes anyways.
Any suggestions? Any way to EDIT contents from nodered's internal clipboard within itself w/o EXPORT? Thanks!