Skip to content
Snippets Groups Projects
Commit f0075a4e authored by felmer's avatar felmer
Browse files

SSDM-3348: VocabularyTermPermId.js: Allow vocabularyCode to be null in order...

SSDM-3348:  VocabularyTermPermId.js: Allow vocabularyCode to be null in order to fix 'test-dto-roundtrip'.

SVN: 36005
parent 3328279d
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ define([ "stjs", "util/Exceptions", "as/dto/vocabulary/id/IVocabularyTermId" ],
};
prototype.setVocabularyCode = function(vocabularyCode) {
if (vocabularyCode == null) {
throw new exceptions.IllegalArgumentException("Vocabulary code cannot be null");
// throw new exceptions.IllegalArgumentException("Vocabulary code cannot be null");
}
this.vocabularyCode = vocabularyCode;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment