From: remillet Date: Tue, 23 May 2017 16:29:07 +0000 (-0700) Subject: CSPACE-7073: Added code to display bad short IDs in logs. X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=e24c8abb444a50099bf3b4bb70b247b6f1f5c6df;p=tmp%2Fjakarta-migration.git CSPACE-7073: Added code to display bad short IDs in logs. --- diff --git a/services/vocabulary/service/src/main/java/org/collectionspace/services/vocabulary/nuxeo/VocabularyItemValidatorHandler.java b/services/vocabulary/service/src/main/java/org/collectionspace/services/vocabulary/nuxeo/VocabularyItemValidatorHandler.java index c483de0a3..d6600b864 100644 --- a/services/vocabulary/service/src/main/java/org/collectionspace/services/vocabulary/nuxeo/VocabularyItemValidatorHandler.java +++ b/services/vocabulary/service/src/main/java/org/collectionspace/services/vocabulary/nuxeo/VocabularyItemValidatorHandler.java @@ -84,7 +84,7 @@ public class VocabularyItemValidatorHandler implements ValidatorHandler { // a display name or supplied in another manner. if ((shortId != null) && (shortIdBadPattern.matcher(shortId).find())) { invalid = true; - errMessage += "shortIdentifier must only contain standard word characters"; + errMessage += "shortIdentifier must only contain standard word characters: " + shortId; } } else if (action.equals(Action.UPDATE)) { // What is this ELSE clause for?