Project

General

Profile

« Previous | Next » 

Revision 5750

Added by berkley over 13 years ago

fix for paths with semi-colons or other 'reserved' characters in them for D1 rest services

View differences:

CrudService.java
302 302
        logMetacat.debug("Comparing guid|sysmeta_guid: " + guid.getValue() + "|" + sysmeta.getIdentifier().getValue());
303 303
        if (!guid.getValue().equals(sysmeta.getIdentifier().getValue())) {
304 304
            throw new InvalidSystemMetadata("1180", 
305
                "GUID in method call does not match GUID in system metadata.");
305
                "GUID in method call (" + guid.getValue() + ") does not match GUID in system metadata (" +
306
                sysmeta.getIdentifier().getValue() + ").");
306 307
        }
307 308

  
308 309
        logMetacat.debug("Checking if identifier exists...");

Also available in: Unified diff