Skip to content

Commit

Permalink
fix: ignore independence rule for which child rubrique doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolife999 committed Nov 2, 2024
1 parent 78b5d04 commit 784f01b
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,12 @@ public static void ajouterRegleIndependance(FileIdCard fileIdCard) {
if (type.equals(TypeNormage.INDEPENDANCE)) {
String rubrique = reglesNormage.get(j).getRubrique().toLowerCase();
String rubriqueNmcl = reglesNormage.get(j).getRubriqueNmcl().toLowerCase();
rubriquesAvecRegleDIndependance.put(JoinParser.anyToM(rubrique), rubriqueNmcl);

// ignore rule if rubrique nmcl not found
if (JoinParser.getLine(blocCreate, rubriqueNmcl)!=null)
{
rubriquesAvecRegleDIndependance.put(JoinParser.anyToM(rubrique), rubriqueNmcl);
}
}

}
Expand Down

0 comments on commit 784f01b

Please sign in to comment.