movePublication(pub.getPK(), folder.getNodePK());
} else {
KmeliaCopyDetail copyDetail = KmeliaCopyDetail.fromPasteDetail(pasteDetail);
getKmeliaBm().copyPublication(pub, copyDetail);
}
<BUG>pastedItems.add(pub);
} else if (clipObject.isDataFlavorSupported(NodeSelection.NodeDetailFlavor)) {

NodeDetail node =
(NodeDetail) clipObject.getTransferData(NodeSelection.NodeDetailFlavor);
</BUG>
boolean pasteAllowed = !node.equals(folder) && !node.isFatherOf(folder);

movePublication(pub.getPK(), folder.getNodePK());
} else {
KmeliaCopyDetail copyDetail = KmeliaCopyDetail.fromPasteDetail(pasteDetail);
getKmeliaBm().copyPublication(pub, copyDetail);
}
return pub;
} else if (selection.isDataFlavorSupported(NodeSelection.NodeDetailFlavor)) {
NodeDetail node = (NodeDetail) selection.getTransferData(NodeSelection.NodeDetailFlavor);
boolean pasteAllowed = !node.equals(folder) && !node.isFatherOf(folder);
