ldgen: mapping rules should be grouped by archive

This commit is contained in:
Renz Christian Bagaporo 2019-04-05 10:42:36 +08:00
parent 065eb918fd
commit 87aa341e97

View File

@ -345,7 +345,7 @@ class GenerationModel:
message = GenerationException.UNDEFINED_REFERENCE + " to scheme '" + scheme_name + "'."
raise GenerationException(message, mapping)
all_mapping_rules[mapping.name] = mapping_rules
all_mapping_rules[mapping.archive] = mapping_rules
# Detect rule conflicts
for mapping_rules in all_mapping_rules.items():