Bug fix for CRIS reSubmition
This commit is contained in:
parent
e33df7fe42
commit
62c228ca42
|
@ -165,12 +165,15 @@ public class ValidatorServiceImpl implements ValidatorService {
|
|||
|
||||
RuleSet ruleSet = null;
|
||||
for (List<RuleSet> ruleSets : this.rulesetMap.values()) {
|
||||
for (RuleSet rSet : ruleSets)
|
||||
if (rSet.getGuidelinesAcronym().equals(job.getDesiredCompatibilityLevel())) {
|
||||
for (RuleSet rSet : ruleSets) {
|
||||
if (rSet.getName().equalsIgnoreCase("CRIS Validation")) {
|
||||
|
||||
}else if(rSet.getGuidelinesAcronym().equals(job.getDesiredCompatibilityLevel())){
|
||||
ruleSet = rSet;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (ruleSet != null){
|
||||
for (int ruleId : job.getRules()) {
|
||||
if (ruleSet.getContentRulesIds().contains(ruleId))
|
||||
|
|
Loading…
Reference in New Issue