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

Embedded shell shows wrong version when using version() command

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Embedded Shell
    • None
    • 3

    Description

      Problem Statement/Rationale

      Executing version() command in embedded shell in Compass always prints 0.0.0-dev.0 as a version

      Steps to Reproduce

      • Start Compass and connect to anything
      • Open embedded shell
      • Run version() command in the shell

      Expected Results

      Displayed version matches embedded shell version (visible in shell info modal)

      Actual Results

      It shows 0.0.0-dev.0

      Additional Notes

      node-runtime-worker-thread is bundled with webpack before version numbers are updated in the package.json during publishing so it probably bundles package.json of shell-api with default dev version number and this is where the root cause of the issue is

      Attachments

        Activity

          People

            Unassigned Unassigned
            sergey.petushkov@mongodb.com Sergey Petushkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: