Pasting breaks all connections (only in material editor)

When i copy the nodes from material editor and paste them, they lose all connections
Images are attached

you should file a bug report

It has already been filed I believe - at least, I recall voting on it.