You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Luciano Resende (JIRA)" <de...@tuscany.apache.org> on 2008/07/08 06:50:31 UTC
[jira] Resolved: (TUSCANY-2390) Default property value in Component
Type Fiel not used to initialize property
[ https://issues.apache.org/jira/browse/TUSCANY-2390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luciano Resende resolved TUSCANY-2390.
--------------------------------------
Resolution: Invalid
Fix Version/s: Java-SCA-Next
My understanding is that the componentType files would provide you default values, and in the case of the properties, the default value would come from the componentType side file, but then would be overrided by the values in the composite. To avoid this, one would only define the property in the componentType file.
I have created a new component in the test case to exemplify this behavior. And I have also re-enable a slightly modified version of the existent test.
Please let me know if you have a different understanding.
> Default property value in Component Type Fiel not used to initialize property
> -----------------------------------------------------------------------------
>
> Key: TUSCANY-2390
> URL: https://issues.apache.org/jira/browse/TUSCANY-2390
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-Next
> Reporter: Kevin Williams
> Assignee: Luciano Resende
> Fix For: Java-SCA-Next
>
>
> I modified a working test to initialize a property from the component type file rather than the .composite and the test now fails.
> org.apache.tuscany.sca.vtest.assembly.ctypefile.CompomnentTypeFileTestCase.typeFile3() demonstrates this problem and has been @Ignore(d)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.