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

Export does nothing after selecting target file

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.44.4
    • Affects Version/s: 1.43.1, 1.44.3
    • Component/s: None
    • None
    • Environment:
      OS: Manjaro Linux
      node.js / npm versions: 22.7.0 / 10.8.2
      Additional info: KDE, Wayland
    • Not Needed
    • Developer Tools

      Problem Statement/Rationale

      I open a collection and then (with or without a filter) select "export". I can choose either JSON or CSV and then click "Export..." and select a file. Once I click "Save" in the file chooser dialog I still see the "Export" modal but nothing happened (the file is not even created).

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

      The logs don't contain anything about the attempted export as far as I can tell.

      Steps to Reproduce

      Open a collection -> Export -> select json or csv -> Click export, select a file, click "save"

      Expected Results

      The file should be created with the query results as export. The app showing the "export completed" notification.

      Actual Results

      No file is created and the Export modal stays open

      Additional Notes

      I can recreate this behavior starting with compass version 1.43.1. It was still working with 1.42.3 (from the versions that I still have on my machine). Between those versions the file picker dialog changed from a generic (built-in?) one to one with the KDE logo in it.

      I suspect the callback from the file picker is not handled correctly (or the other way around, the KDE file picker is sending a wrong value back) so that for Compass it looks like the user clicked "Cancel" instead of choosing a file.

            Assignee:
            sergey.petushkov@mongodb.com Sergey Petushkov
            Reporter:
            jschaefer@wescale.com Johannes Schaefer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: