Dexels / navajo

Navajo Service-oriented Applications
GNU Affero General Public License v3.0
9 stars 5 forks source link

(Bundle creation/deletion) Having a tenant-specific include in an include that is used in a script does not generate a tenant specific version of the script #600

Open kharybdys opened 3 years ago

kharybdys commented 3 years ago

See the junit tests in BundleManipulationTest, test testBundleCreationWithDoubleLayerInclude. The final assertion should work but it currently fails.

It is verified that the current navajo system also exhibits the same, wrong, behaviour.

kharybdys commented 3 years ago

First analysis suggests because the dependency logic only remembers the attributes of the current dependency and does not recurse or inherit the tenant specifity of its own include.

kharybdys commented 3 years ago

Note that more tests in the same class fail for this reason. They have this issue number next to them as a marker to turn them back on once fixed