Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-4148

Incomplete pasting in data grid String field

    XMLWordPrintableJSON

Details

    Description

      When pasting a long String with newlines in the data tab of the Data grid transform (data tab), it gets cut off and only a portion of the string is actually pasted.

      test string:

      <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="urn:ec.europa.eu:taxud:vies:services:checkVat:types"><soapenv:Header></soapenv:Header><soapenv:Body><ns:checkVat><ns:countryCode>BE</ns:countryCode><ns:vatNumber>100</ns:vatNumber></ns:checkVat> </soapenv:Body></soapenv:Envelope> 

      The paste does work if you remove all the newlines.

      A test file has also been included, try copying the String value from "Data grid working" to "Data grid not working" and switch the active hops. Theoretically, the API client should return the same response, but it gives a 500 error instead because the XML request was incomplete.

      Attachments

        1. vies_btw_test.hpl
          4 kB
          Robin Paret

        Activity

          People

            Unassigned Unassigned
            roparet Robin Paret
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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