Project

General

Profile

« Previous | Next » 

Revision 6638

actually persist the MN id value to the properties file

View differences:

src/edu/ucsb/nceas/metacat/admin/D1Admin.java
305 305
	            logMetacat.debug("Registering node with DataONE. " + cn.getNodeBaseServiceUrl());
306 306
	            NodeReference mnodeRef = cn.register(session, node);
307 307
	            // save this assigned node id
308
	            PropertyService.setPropertyNoPersist("dataone.memberNodeId", mnodeRef.getValue());
308
	            PropertyService.setProperty("dataone.memberNodeId", mnodeRef.getValue());
309 309
	            
310 310
            }
311 311
        } catch (ServiceFailure e) {

Also available in: Unified diff