Closed cdeneux closed 8 years ago
According to this documentation, it looks like a bug.
Using componentId should override all the componentId variables, no matter their prefix. I will test your graph portion.
Ho! Wait! We are talking about instances. OK... :smiling_imp:
OK. I changed the resolution policy.
I will update the documentation about it.
The documentation was updated: http://roboconf.net/en/user-guide-snapshot/inheritance-and-variables.html
The warning is disturbing. When building, we are thinking that something is wrong but not.
By definition, a warning is something one should care about. Something that could be an error. ;)
According to the following graph
My instances must be written as:
I don't understand why I must use
PetalsJBIComponent.componentId
when defining the instancePetalsSLPostgreSQL
. The prefixPetalsJBIComponent
has no sens.Moreover, with others Roboconf components, I must define instances where the same attribute must be declared twice with the same value but with different prefix, as:
As the components are inherited, it has no sens to use a prefix to declare attributes. An inherited attribute has always the value defined at the deepest inherited level.