You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Hasan Muhammad (Created) (JIRA)" <de...@tuscany.apache.org> on 2012/01/13 18:08:39 UTC

[jira] [Created] (TUSCANY-4006) Intent transactedOneWay with an interface that has both one-way and two-way methods should be allowed

Intent transactedOneWay with an interface that has both one-way and two-way methods should be allowed
-----------------------------------------------------------------------------------------------------

                 Key: TUSCANY-4006
                 URL: https://issues.apache.org/jira/browse/TUSCANY-4006
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Assembly Model
    Affects Versions: Java-SCA-2.0-M1
         Environment: All
            Reporter: Hasan Muhammad
             Fix For: Java-SCA-2.x


This is a bug in CompositePolicyBuilderImpl.validateTransactionIntents().  It is failing the use of transactedOneWay with an interface that has both one-way and two-way methods.  This is allowed;  transactedOneWay applies only to the one-way methods.  (It's conceptually the same as propagatesTransaction, which by definition applies to the two-way methods and is ignored for one-way methods.)  The check should be deleted.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (TUSCANY-4006) Intent transactedOneWay with an interface that has both one-way and two-way methods should be allowed

Posted by "Simon Laws (Assigned) (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-4006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws reassigned TUSCANY-4006:
-----------------------------------

    Assignee: Simon Laws
    
> Intent transactedOneWay with an interface that has both one-way and two-way methods should be allowed
> -----------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-4006
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-4006
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Assembly Model
>    Affects Versions: Java-SCA-2.0-M1
>         Environment: All
>            Reporter: Hasan Muhammad
>            Assignee: Simon Laws
>             Fix For: Java-SCA-2.x
>
>
> This is a bug in CompositePolicyBuilderImpl.validateTransactionIntents().  It is failing the use of transactedOneWay with an interface that has both one-way and two-way methods.  This is allowed;  transactedOneWay applies only to the one-way methods.  (It's conceptually the same as propagatesTransaction, which by definition applies to the two-way methods and is ignored for one-way methods.)  The check should be deleted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira