]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-7073: Added code to display bad short IDs in logs.
authorremillet <remillet@yahoo.com>
Tue, 23 May 2017 16:29:07 +0000 (09:29 -0700)
committerremillet <remillet@yahoo.com>
Tue, 23 May 2017 16:29:07 +0000 (09:29 -0700)
services/vocabulary/service/src/main/java/org/collectionspace/services/vocabulary/nuxeo/VocabularyItemValidatorHandler.java

index c483de0a3d7ea6eb4587eda0f80b87a0983f7dd5..d6600b864abc3b236f61de77ff2214fbd5a61554 100644 (file)
@@ -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?