Project

General

Profile

« Previous | Next » 

Revision 6520

set the originating member node on create()

View differences:

src/edu/ucsb/nceas/metacat/dataone/MNodeService.java
340 340

  
341 341
        // set the submitter to match the certificate
342 342
        sysmeta.setSubmitter(session.getSubject());
343
        // set the originating node
344
        NodeReference originMemberNode = this.getCapabilities().getIdentifier();
345
        sysmeta.setOriginMemberNode(originMemberNode);
343 346
        // call the shared impl
344 347
        return super.create(session, pid, object, sysmeta);
345 348
    }

Also available in: Unified diff