You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "David T. Adcox (JIRA)" <tu...@ws.apache.org> on 2007/03/13 18:12:09 UTC

[jira] Created: (TUSCANY-1167) SDO Codegen generates bad code when the noNotification option is used

SDO Codegen generates bad code when the noNotification option is used
---------------------------------------------------------------------

                 Key: TUSCANY-1167
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1167
             Project: Tuscany
          Issue Type: Bug
          Components: Java SDO Tools
    Affects Versions: Java-SDO-M3
         Environment: n/a
            Reporter: David T. Adcox
             Fix For: Java-SDO-M3


The code generated using the -noNotification option causes the SDO codegen tool to create code that can not be compiled.  There is an issue in the basicUnsetxxxxx method, where the return statement is excluded.  This is because the return has accidentally been included inside the suppress notification condition.  The return statement should be outside of this condition.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Resolved: (TUSCANY-1167) SDO Codegen generates bad code when the noNotification option is used

Posted by "Frank Budinsky (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Budinsky resolved TUSCANY-1167.
-------------------------------------

    Resolution: Fixed

Committed revision 518794.

> SDO Codegen generates bad code when the noNotification option is used
> ---------------------------------------------------------------------
>
>                 Key: TUSCANY-1167
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1167
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-M3
>         Environment: n/a
>            Reporter: David T. Adcox
>             Fix For: Java-SDO-Mx
>
>         Attachments: 1167.patch
>
>
> The code generated using the -noNotification option causes the SDO codegen tool to create code that can not be compiled.  There is an issue in the basicUnsetxxxxx method, where the return statement is excluded.  This is because the return has accidentally been included inside the suppress notification condition.  The return statement should be outside of this condition.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1167) SDO Codegen generates bad code when the noNotification option is used

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson updated TUSCANY-1167:
------------------------------------

    Patch Info: [Patch Available]

Setting patch available flag

> SDO Codegen generates bad code when the noNotification option is used
> ---------------------------------------------------------------------
>
>                 Key: TUSCANY-1167
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1167
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-M3
>         Environment: n/a
>            Reporter: David T. Adcox
>             Fix For: Java-SDO-Mx
>
>         Attachments: 1167.patch
>
>
> The code generated using the -noNotification option causes the SDO codegen tool to create code that can not be compiled.  There is an issue in the basicUnsetxxxxx method, where the return statement is excluded.  This is because the return has accidentally been included inside the suppress notification condition.  The return statement should be outside of this condition.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1167) SDO Codegen generates bad code when the noNotification option is used

Posted by "David T. Adcox (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David T. Adcox updated TUSCANY-1167:
------------------------------------

    Attachment: 1167.patch

This patch moves the return statement outside the suppress notification condition.

> SDO Codegen generates bad code when the noNotification option is used
> ---------------------------------------------------------------------
>
>                 Key: TUSCANY-1167
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1167
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-M3
>         Environment: n/a
>            Reporter: David T. Adcox
>             Fix For: Java-SDO-M3
>
>         Attachments: 1167.patch
>
>
> The code generated using the -noNotification option causes the SDO codegen tool to create code that can not be compiled.  There is an issue in the basicUnsetxxxxx method, where the return statement is excluded.  This is because the return has accidentally been included inside the suppress notification condition.  The return statement should be outside of this condition.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1167) SDO Codegen generates bad code when the noNotification option is used

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson updated TUSCANY-1167:
------------------------------------

    Fix Version/s:     (was: Java-SDO-Mx)
                   Java-SDO-M3

> SDO Codegen generates bad code when the noNotification option is used
> ---------------------------------------------------------------------
>
>                 Key: TUSCANY-1167
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1167
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-M3
>         Environment: n/a
>            Reporter: David T. Adcox
>             Fix For: Java-SDO-M3
>
>         Attachments: 1167.patch
>
>
> The code generated using the -noNotification option causes the SDO codegen tool to create code that can not be compiled.  There is an issue in the basicUnsetxxxxx method, where the return statement is excluded.  This is because the return has accidentally been included inside the suppress notification condition.  The return statement should be outside of this condition.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org