Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1086

In function axis2_op_register_op_ctx() failure is logged and returned in a working path.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            xydinesh Dinesh Weerapurage
            damitha Damitha N.M. Kumarage
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: