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

_stripWhitespaceFromStoredDataset processing not working

    XMLWordPrintable

    Details

    • Type: Regression
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.2.6
    • Fix Version/s: 6.2.8
    • Component/s: Roxie
    • Labels:
      None

      Description

      Using the following code in echo.ecl:

      string a := '': stored('a');
      a;
      

      Compiled using

      eclcc echo.ecl -platform=roxie
      

      then started using

      ./a.out --port=9876
      

      If I send in the query

      testsocket . '<roxie><_stripWhitespaceFromStoredDataset>0</_stripWhitespaceFromStoredDataset><a> hi </a></roxie>'
      

      I should get back

      <Dataset name='Result 1'>
       <Row><Result_1> hi </Result_1></Row>
      </Dataset>
      

      (and I do in 5.6.8)

      But in 6.2.6 I get back

      <Dataset name='Result 1'>
       <Row><Result_1>hi</Result_1></Row>
      </Dataset>
      

        Attachments

          Activity

            People

            • Assignee:
              afishbeck Anthony Fishbeck
              Reporter:
              richardkchapman Richard Chapman
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: