Project

General

Profile

« Previous | Next » 

Revision 6381

Added by Chris Jones over 13 years ago

Fix bug in updateSystemMetadataFields() where guid is set from the wrong parameter in the prepared SQL statement.

View differences:

src/edu/ucsb/nceas/metacat/IdentifierManager.java
1007 1007
            stmt.setString(14, obsoletedBy);
1008 1008

  
1009 1009
            //where clause
1010
            stmt.setString(13, guid);
1010
            stmt.setString(15, guid);
1011 1011
            logMetacat.debug("stmt: " + stmt.toString());
1012 1012
            //execute
1013 1013
            int rows = stmt.executeUpdate();

Also available in: Unified diff