Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-22090

WsStore/Set response missing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.2.8
    • Fix Version/s: 7.2.14
    • Component/s: ws_store
    • Labels:
      None

      Description

      The response for a WsStore/Set call has a 'Success' field that appears to not be set. Example request and response:

      <?xml version="1.0" encoding="utf-8"?>
      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns="urn:hpccsystems:ws:wsstore">
       <soap:Body>
        <SetRequest>
         <StoreName>test_store</StoreName>
         <Namespace>ns</Namespace>
         <Key>second_key</Key>
         <Value>new_value</Value>
         <UserSpecific>0</UserSpecific>
        </SetRequest>
       </soap:Body>
      </soap:Envelope>
      
      <?xml version="1.0" encoding="utf-8"?>
      <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext">
       <soap:Body>
        <SetResponse xmlns="urn:hpccsystems:ws:wsstore">
         <Success>0</Success>
        </SetResponse>
       </soap:Body>
      </soap:Envelope>
      

      'Success' should be a boolean and, since inspecting the KV store shows that the call succeeded, the returned value should be true (1). From examining the source code, it appears that the response is not populated at all if there are no exceptions.

        Attachments

          Activity

            People

            • Assignee:
              rpastrana Rodrigo Pastrana
              Reporter:
              dcamper Dan S. Camper
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: