Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4407

Something wrong with the data structure [set] with the php lib

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.10.0
    • None
    • PHP - Library
    • None
    • CentOS 6.5

    Description

      The function in thrift file:

      set<string> set_test(1:set<string> test_set)

      My test is like this:
      $s = new Bd_Wrpc_Client("arch.soa_test");
      $res9 = $s->set_test(
      array("ww","qq")
      );

      and My server supposed to return whatever I passed.
      But I got the wring answer:

      array(2)

      { [0]=> bool(true) [1]=> bool(true) }

      Is there a bug in Thrift php lib?

      Attachments

        Activity

          People

            Unassigned Unassigned
            pianweiwan Ashenp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 96h
                96h
                Remaining:
                Remaining Estimate - 96h
                96h
                Logged:
                Time Spent - Not Specified
                Not Specified