gerrit/javatests
Edwin Kempin 779680dda5 GetPreferences: Don't return unsupported download scheme
In the preferences users can set their preferred download scheme. When
setting the download scheme it is validated that the download scheme is
supported. A download scheme is supported if there is a plugin that
provides a DownloadScheme implementation for it that is enabled.
However this check does not guarantee that the download scheme that a
user has set in the preferences is always supported. It can happen that
a user sets a supported download scheme that later becomes unsupported
because the plugin is uninstalled or the download scheme is set to
disabled. In this case we don't want to return the unspported download
scheme to callers of the GetPreferences REST endpoint. E.g. if the
caller tries to use the current values for a SetPreferences call this
would be rejected due to the unsupported download scheme.

Bug: Issue 9857
Change-Id: Ic8c0313efa9fa9c22f3a6f71c1b34e979b200875
Signed-off-by: Edwin Kempin <ekempin@google.com>
2018-10-25 14:53:34 +00:00
..
com/google GetPreferences: Don't return unsupported download scheme 2018-10-25 14:53:34 +00:00
org/eclipse/jgit Dissolve gerrit-patch-jgit top-level directory 2017-10-31 11:02:36 -04:00