Revision 57776
Added by Ioannis Diplas over 4 years ago
ValidatorServiceImpl.java | ||
---|---|---|
135 | 135 |
///////////////////////////////////////////////////////////////////////////////////////// |
136 | 136 |
// FIXME: this is a hack for CRIS Jan Dvorak Validator, should be implemented properly // |
137 | 137 |
///////////////////////////////////////////////////////////////////////////////////////// |
138 |
if (jobForValidation.getSelectedContentRules().size() == 1 && |
|
138 |
if (jobForValidation.getSelectedContentRules()!=null && jobForValidation.getSelectedContentRules().size() == 1 &&
|
|
139 | 139 |
jobForValidation.getSelectedContentRules().contains(-1000)) { |
140 | 140 |
crisValidatorExecutor.submit(jobForValidation.getBaseUrl(), jobForValidation.getUserEmail()); |
141 | 141 |
} else { |
Also available in: Unified diff
Fixing a bug for null contentRules