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


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to