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

View editor does not like pipelines with $function

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • 1.30.1
    • Affects Version/s: 1.29.6
    • Component/s: Aggregation pipeline
    • None
    • 3
    • Iteration Versailles
    • Not Needed

      Problem Statement/Rationale

      When a view definition contains a $function the body of the function is stored as Code() and Compass does not seem to like that.

      Steps to Reproduce

      Create a view with a $function, save it and then try to edit it in Compass.

      Expected Results

      It works fine and I can edit the view.

      Actual Results

      It breaks.

      Additional Notes

      Any additional information that may be useful to include.

            Assignee:
            alena.khineika@mongodb.com Alena Khineika
            Reporter:
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: