Uploaded image for project: 'MongoDB for IntelliJ Plugin'
  1. MongoDB for IntelliJ Plugin
  2. INTELLIJ-160

opening the datagrip console in unsafe write context

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Not Needed
    • Developer Tools

      Problem Statement/Rationale

      It seems that opening DataGrip's console is an action that requires a write context.

      Steps to Reproduce

      It seems to be a race condition. On some situations IntelliJ can switch the write context to a read context.

      Expected Results

      The DataGrip console is opened with the new query.

      Actual Results

      The DataGrip console is opened with the query, but a warning is shown in IntelliJ's UI.

      Additional Notes

      It doesn't seem to break anything, the behaviour still works, but we don't know what would happen in the future, and the fix seems straightforward.

        1. stacktrace.log
          15 kB
          Kevin Mas Ruiz

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.mas@mongodb.com Kevin Mas Ruiz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: