From e24c8abb444a50099bf3b4bb70b247b6f1f5c6df Mon Sep 17 00:00:00 2001 From: remillet Date: Tue, 23 May 2017 09:29:07 -0700 Subject: [PATCH] CSPACE-7073: Added code to display bad short IDs in logs. --- .../vocabulary/nuxeo/VocabularyItemValidatorHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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? -- 2.47.3