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

Binary type handled poorly

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.16.0
    • Affects Version/s: 1.10.0-dev
    • Component/s: Compass, Query Bar
    • None

      Compass doesn't handle the BinData type cleanly in various ways. As follows:

      1. Multiple BinData with the same value but different subtypes cause Compass to treat them as the same document (see screenshot): "Displaying documents 1-20" but only 1 document is shown.
      2. The subtype is not shown in any location.
      3. Nothing I typed in the filter bar ever matched – suggested format (and the 'green' allowed format) was Binary('xxxx') but no value I gave ever produced results.
      4. The shell type is BinData (rather than Binary) and would be preferred for copy/paste purposes.
      5. The presence of a document with a BinData value of subtype 2 causes Compass to throw an error instead of showing the documents (or doing schema analysis).

        1. compass-binary.PNG
          78 kB
          Andrew Ryder
        2. Screenshot 2018-12-11 at 15.57.29.png
          690 kB
          Durran Jordan

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            andrew.ryder@mongodb.com Andrew Ryder (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: