Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-46277

Change nested pipeline constraint error message

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:

      Description

      Before SERVER-45620 we would allow a nested pipeline with an illegal stage. For example, $facet is not allowed in a $facet. However, we would allow $facet inside a $lookup inside a $facet. This is no longer allowed, but the error message is misleading – in the above example we would report "$lookup is not allowed in $facet". We should look into making the correct information available, or making the error message more generic.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-query Backlog - Query Team
              Reporter:
              ted.tuckman Ted Tuckman
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: