Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3032

javascript-stringify generates incorrect string for query

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.15.0
    • Component/s: Export to Language
    • Labels:
      None
    • # Replies:
      0
    • Last comment by Customer:
      true
    • Sprint:
      Iteration Edamame, Iteration Fig, Iteration Guacamole

      Description

      The export-to-language plugin uses a package called 'javascript-stringify' to create a string from the query, which is passed as a javascript object. 

       

      The issue is that it doesn't stringify it correctly, which is causing the compiler to try to compile a string that doesn't make any sense. The solution would probably be to pass the original query/agg string instead of passing the object that is created from the string. Alternatively, could write a stringify method within the plugin that works correctly.

        Attachments

          Activity

            People

            • Assignee:
              anna.herlihy Anna Herlihy
              Reporter:
              anna.herlihy Anna Herlihy
              Participants:
              Last commenter:
              Jessica Sigafoos
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 35 weeks, 4 days ago