Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-366

getFirstTransportPropertyKey() returns NULL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5 Alpha
    • None
    • None

    Description

      Hi,

      The getFirstTransportProperty() function in Stub class returns NULL. The test which is written to test the properties of transport has found this bug with latest builds. This function used to return the FirstTransportKey previously. But now it's not. Here is the code

      const char* transprop1;
      transprop1= ws.getFirstTrasportPropertyKey();
      if(transprop1==NULL)
      printf("NULL \n");
      else
      cout << "first transport property key is = "<< transprop1;

      I've compared the Stub.hpp of the latest builds with that of the old builds and found the following change.I think these changes were put in by Samisa.

      In old build,

      const char* getFirstTrasportPropertyKey();

      and in new build it's changed to

      const char* getFirstTrasportPropertyKey()

      {return NULL;}

      ;

      The same changes are included in other TransportPropertyKey related functions also.

      Regards
      Manohar

      Attachments

        Activity

          People

            Unassigned Unassigned
            cmanohar Manohar Kumar Chintala
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: