Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-28470

KMIPService constructor should keep the Status from _initServerConnection

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Platforms 2017-06-19, Platforms 2017-07-10
    • Case:

      Description

      The KMIPService constructor uses the Status that it gets from _initServerConnection() only to set _isValid to true or false. This means that the error message which _initServerConnection() might have stored in the Status is thrown away, which is undesirable from a usability perspective.

      _isValid should be converted from a bool to a Status, and used to store the result of _initServerConnection. Then where kmipService.isValid() is called in getKeyFromKMIPServer(), it should include any non-OK Status from kmipService in the Status that it returns.

        Attachments

          Activity

            People

            Assignee:
            ben.shteinfeld Ben Shteinfeld
            Reporter:
            kevin.pulo Kevin Pulo
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: