Project

General

Profile

« Previous | Next » 

Revision 9125

Added by Jing Tao almost 10 years ago

The setObsoletedBy only handles PID.

View differences:

src/edu/ucsb/nceas/metacat/dataone/CNodeService.java
639 639
          
640 640
      }
641 641
      
642
      String serviceFailureCode = "4941";
642
      /*String serviceFailureCode = "4941";
643 643
      Identifier sid = getPIDForSID(pid, serviceFailureCode);
644 644
      if(sid != null) {
645 645
          pid = sid;
646
      }
646
      }*/
647 647
      
648 648
      // do we have a valid pid?
649 649
      if (obsoletedByPid == null || obsoletedByPid.getValue().trim().equals("")) {

Also available in: Unified diff