Buggy code:
public class NdexNetworkCloneService extends PersistenceService { private Network srcNetwork ; private String ownerAccount ; private Map < Long , Long > baseTermIdMap ; private Map < Long , Long > reifiedEdgeTermIdMap ; private Map < Long , Long > nodeIdMap ; private Map < Long , Long > functionTermIdMap ; private Map < Long , Long > namespaceIdMap ; private Map < Long , Long > citationIdMap ; private Map < Long , Long > supportIdMap ; private Map < Long , Long > edgeIdMap ; public NdexNetworkCloneService ( NdexDatabase db , final Network sourceNetwork , String ownerAccountName ) throws NdexException { } public NetworkSummary updateNetwork ( ) throws ExecutionException , NdexException { } private void copyNetworkPermissions ( ODocument srcNetworkDoc , OrientVertex targetNetworkVertex ) { } private void copyNetworkPermissionAux ( ODocument srcNetworkDoc , OrientVertex targetNetworkVertex , String permissionEdgeType ) { } private void cloneNetworkElements ( ) throws ExecutionException , NdexException { } public NetworkSummary cloneNetwork ( ) throws ExecutionException , NdexException { } private void cloneNetworkCore ( ) throws ExecutionException , NdexException { } private void cloneNetworkNode ( ) throws ExecutionException , NdexException { this . network . setExternalId ( INSTANCE . getNDExUUID ( ) ) ; this . network . setURI ( ( ( ( NdexDatabase . getURIPrefix ( ) ) + "//network//" ) + ( this . network . getExternalId ( ) . toString ( ) ) ) ) ; this . network . setName ( srcNetwork . getName ( ) ) ; this . network . setEdgeCount ( srcNetwork . getEdges ( ) . size ( ) ) ; this . network . setNodeCount ( srcNetwork . getNodes ( ) . size ( ) ) ; Timestamp now = new Timestamp ( Calendar . getInstance ( ) . getTimeInMillis ( ) ) ; networkDoc = new ODocument ( NdexClasses . Network ) . fields ( Network_P_UUID , this . network . getExternalId ( ) . toString ( ) , ExternalObj_cTime , now , ExternalObj_mTime , now , ExternalObj_isDeleted , false , Network_P_name , srcNetwork . getName ( ) , Network_P_edgeCount , network . getEdgeCount ( ) , Network_P_nodeCount , network . getNodeCount ( ) , Network_P_isLocked , false , Network_P_isComplete , false , Network_P_cacheId , Long . valueOf ( ( - 1 ) ) , Network_P_readOnlyCommitId , Long . valueOf ( ( - 1 ) ) , Network_P_visibility , ( ( srcNetwork . getVisibility ( ) ) == null ? PRIVATE . toString ( ) : srcNetwork . getVisibility ( ) . toString ( ) ) ) ; if ( ( srcNetwork . getDescription ( ) ) != null ) { networkDoc . field ( Network_P_desc , srcNetwork . getDescription ( ) ) ; network . setDescription ( srcNetwork . getDescription ( ) ) ; } if ( ( srcNetwork . getVersion ( ) ) != null ) { networkDoc . field ( Network_P_version , srcNetwork . getVersion ( ) ) ; <START_BUG> network . setDescription ( srcNetwork . getVersion ( ) ) ; <END_BUG> } NetworkSourceFormat fmt = NdexNetworkCloneService . removeNetworkSourceFormat ( srcNetwork ) ; if ( fmt != null ) networkDoc . field ( Network_P_source_format , fmt . toString ( ) ) ; networkDoc = networkDoc . save ( ) ; networkVertex = graph . getVertex ( networkDoc ) ; addPropertiesToVertex ( networkVertex , srcNetwork . getProperties ( ) , srcNetwork . getPresentationProperties ( ) ) ; this . network . getProperties ( ) . addAll ( srcNetwork . getProperties ( ) ) ; this . network . getPresentationProperties ( ) . addAll ( srcNetwork . getPresentationProperties ( ) ) ; logger . info ( ( ( "A<seq2seq4repair_space>new<seq2seq4repair_space>NDex<seq2seq4repair_space>network<seq2seq4repair_space>titled:<seq2seq4repair_space>" + ( srcNetwork . getName ( ) ) ) + "<seq2seq4repair_space>has<seq2seq4repair_space>been<seq2seq4repair_space>created" ) ) ; } private void cloneNamespaces ( ) throws ExecutionException , NdexException { } private void cloneBaseTerms ( ) throws ExecutionException , NdexException { } private void cloneCitations ( ) throws ExecutionException , NdexException { } private void cloneSupports ( ) throws ExecutionException , NdexException { } private void cloneReifiedEdgeTermNodes ( ) { } private void cloneFunctionTermVertex ( ) { } private void cloneNodes ( ) throws ExecutionException , NdexException { } private Long createNode ( Node node ) throws ExecutionException , NdexException { } @ Override protected void addPropertiesToVertex ( OrientVertex vertex , Collection < NdexPropertyValuePair > properties , Collection < SimplePropertyValuePair > presentationProperties ) throws ExecutionException , NdexException { } private void cloneEdges ( ) throws ExecutionException , NdexException { } private Long createEdge ( Edge edge ) throws ExecutionException , NdexException { } private void createLinksforRefiedEdgeTerm ( ) throws ExecutionException , NdexException { } private void createLinksFunctionTerm ( ) throws ExecutionException , NdexException { } private static NetworkSourceFormat removeNetworkSourceFormat ( NetworkSummary nsummary ) { } private Long findTermId ( Long oldId ) { } }

Fix:
network . setVersion ( srcNetwork . getVersion ( ) ) ;