You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Dinesh Premalal (JIRA)" <ji...@apache.org> on 2008/04/08 14:33:29 UTC

[jira] Assigned: (AXIS2C-1086) In function axis2_op_register_op_ctx() failure is logged and returned in a working path.

     [ https://issues.apache.org/jira/browse/AXIS2C-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dinesh Premalal reassigned AXIS2C-1086:
---------------------------------------

    Assignee: Dinesh Premalal

> In function axis2_op_register_op_ctx() failure is logged and returned in a working path.
> ----------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-1086
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1086
>             Project: Axis2-C
>          Issue Type: Bug
>            Reporter: Damitha Kumarage
>            Assignee: Dinesh Premalal
>
> In the following code of axis2_op_register_op_ctx() function
>     msg_id = axis2_msg_ctx_get_msg_id(msg_ctx, env);
>     if (!msg_id)
>     {
>         AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI,
>             "Message id not found for message context while "\
>             "registering operation context for operation %s", opname);
>         return AXIS2_FAILURE;
>     }
> When message id is not found in the messages context it is correctly logged as error and returned failure. However every places from which this function called, status is not handled and although error is logged and failure returned still code work successfully. This is behaviour is not acceptable.

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org