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

"An error occurred while rendering: Maximum call stack size exceeded"

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.42.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Developer Tools
    • 2
    • Not Needed
    • Iteration Velociraptor, Iteration Wendiceratops

      Problem Statement/Rationale

      When open a collection, and it attempts to display one particular record, I get an error message saying: "An error occurred while rendering: Maximum call stack size exceeded".

      The real frustrating part is not that I can't see that record, but that the filter and other options area is missing, so I can't see what is actually being search for, and can't change my filter.

      This is whats missing:

      This is what I see:

       

      Please be sure to attach relevant logs with any sensitive data redacted.

      65c8f49cbcac45f82b788bc1_log.gz

      Steps to Reproduce

      Open a collection and run a search that will return and show a problematic record. I hunch is that my particular problematic record has a very long string field.
      h3. Expected Results

      Ideally, show the results of the search.

      If that can't be done, show the result without the problematic record and/or field.

      If that can't be done, at the very least show the field/other options area, like with other errors:

      Actual Results

      No results are shown, and the filter/other options area is missing, meaning you can't see/modify the current search, and have to completely close that tab and open a new one to continue using Compass

      Additional Notes

      None

        1. image-2024-02-12-13-15-01-889.png
          image-2024-02-12-13-15-01-889.png
          244 kB
        2. image-2024-02-12-13-14-30-221.png
          image-2024-02-12-13-14-30-221.png
          331 kB
        3. image-2024-02-12-13-07-10-426.png
          image-2024-02-12-13-07-10-426.png
          54 kB
        4. image-2024-02-12-12-59-23-008.png
          image-2024-02-12-12-59-23-008.png
          211 kB
        5. document.json
          13.90 MB
        6. document_linebreaks.json
          788 kB
        7. 65c8f49cbcac45f82b788bc1_log.gz
          30 kB

            Assignee:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Reporter:
            doug@castleblacksecurity.com Doug Goldstein
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: