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;
|
RuleSet ruleSet = null;
|
||||||
for (List<RuleSet> ruleSets : this.rulesetMap.values()) {
|
for (List<RuleSet> ruleSets : this.rulesetMap.values()) {
|
||||||
for (RuleSet rSet : ruleSets)
|
for (RuleSet rSet : ruleSets) {
|
||||||
if (rSet.getGuidelinesAcronym().equals(job.getDesiredCompatibilityLevel())) {
|
if (rSet.getName().equalsIgnoreCase("CRIS Validation")) {
|
||||||
|
|
||||||
|
}else if(rSet.getGuidelinesAcronym().equals(job.getDesiredCompatibilityLevel())){
|
||||||
ruleSet = rSet;
|
ruleSet = rSet;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (ruleSet != null){
|
if (ruleSet != null){
|
||||||
for (int ruleId : job.getRules()) {
|
for (int ruleId : job.getRules()) {
|
||||||
if (ruleSet.getContentRulesIds().contains(ruleId))
|
if (ruleSet.getContentRulesIds().contains(ruleId))
|
||||||
|
|
Loading…
Reference in New Issue