Details
-
Work Item
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
-
All
-
GreenHopper Ranking:0|i0upkr:
-
9223372036854775807
-
Small
Description
For now partial properties (Properties, which are the part of ComponentProperties. For example ConnectionProperties) couldn't extend Properties class.
It should extend ComponentProperties, because ClassCastException is thrown otherwise. For example, here
https://github.com/Talend/tdi-studio-se/blob/1f34e0691fe620253b112df03b433b1a4019ad4e/main/plugins/org.talend.designer.core.generic/src/main/java/org/talend/designer/core/generic/utils/ComponentsUtils.java#L194
But ComponentProperties contain a lot of things, which are redundant for partial properties.
Also services callbacks should be working on Properties and not ComponentProperties.
Properties from component-common project should also extend from Properties class.