-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
Milestone
Description
A file containing common values, is imported
- several times,
- in different subkeys,
- within the same file,
- within imported files.
This is detected as 'cyclic import' mistakenly.
But should be possible.
Example:
{
"root" : "../",
"values_AA_1" : {"AA_1_a" : 1,
"[import]" : "${root}global_defs/imported.common.sublevel.jsonp",
"AA_1_b" : 2
},
"values_AA_2" : {"AA_2_a" : 1,
"[import]" : "${root}global_defs/imported.common.sublevel.jsonp",
"AA_2_b" : 2
}
}
Result:
Cyclic imported json file '... /dynamic_imports/global_defs/imported.common.sublevel.jsonp'!
In file: '... /dynamic_imports/AA/BB/imported.BB.CSL.jsonp'
Test cases: JPP_1112, JPP_1113 (commented out)
Reference: #389 (comment)
Metadata
Metadata
Assignees
Labels
Projects
Status
Done