Project

General

Profile

« Previous | Next » 

Revision 1054

Added by Jing Tao over 22 years ago

Delete the control that when action="insert", rev should be 1

View differences:

src/edu/ucsb/nceas/metacat/AccessionNumber.java
114 114
                  ("Accession number " + docid + " is already in use.");
115 115
                    
116 116
      // rev is <> 1; throw an exception to prevent the insertion
117
      } else if ( !rev.equals("1") ) {
117
      } /*else if ( !rev.equals("1")) {
118 118
        throw new AccessionNumberException("Revision number must be 1.");
119
      }
119
      }*/
120 120
          
121 121
    // UPDATE or DELETE
122 122
    } else if ( action.equals("UPDATE") || action.equals("DELETE")) {

Also available in: Unified diff