Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
The ResourceCreationSpecifier.validate() method does not take a ResourceManager as an argument, so users cannot pass in datapath information. This means that the validate() method cannot necessarily resolve import-by-name. But the validate() method does try to check for valid parameter overrides, which can't be done if the aggregate imports delegates by name. It throws an exception while trying to resolve the import-by-name in this case.
Either there should be an overridden method validate(ResourceManager), or validate() should not attempt to do anything involving delegates – saving that for doFullValidation(ResourceManager) instead.