Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-582

Regression: Telemetry message is displayed every time, should only be shown once

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.8.0
    • Affects Version/s: 0.7.7
    • Component/s: CLI Module
    • None
    • 3
    • Iteration Vegetable
    • Not Needed

      Problem Description

      The telemetry message

      To help improve our products, anonymous usage data is collected and sent to MongoDB periodically (https://www.mongodb.com/legal/privacy-policy).
      You can opt-out by running the disableTelemetry() command.
      

      is shown not only on the first run but every time until one of the enableTelemetry() or disableTelemetry() commands is run.

      Steps to Reproduce

      • Delete/rename {.mongodb/mongosh/config}
      • Run mongosh
      • Note the telemetry message
      • Close mongosh
      • Re-run mongosh

      Expected Results

      • The telemetry message should be gone

      Actual Results

      • The telemetry message is still there

      Additional Notes

      This was already fixed in MONGOSH-176 but now it came back.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: