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

Wrong data format in aggregation results in blank export page

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.42.0
    • Affects Version/s: 1.10.4
    • Component/s: None
    • Environment:
      OS: Windows 10
      node.js / npm versions:
      Additional info: Compass v 1.40.4
    • Not Needed
    • Developer Tools

      Problem Statement/Rationale

      On Compass 1.40.4, when using a wrong date format on an aggregation step –  eg., ISODate("25-11-2019") –, while the pipeline displays data, when clicking "Export" the GUI becomes blank.

      There is nothing indicating the problem with the date.

      Steps to Reproduce

      1st – Create a pipeline with a step like:
      {
          $match: {
            $expr: {         $gt: [           "$statusChangedAt",           ISODate("25-11-2019"),         ],       },
          },
        }

      2nd – Click the "Export" button.

      Expected Results

      To open the Export GUI page\window.

      Actual Results

      GUI becomes blank, but the top menu is visible and functional.

            Assignee:
            kevin.mas@mongodb.com Kevin Mas Ruiz
            Reporter:
            hugo@neocredit.ch Hugo Carreira
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: