Skip to content

Resolve "Snippet update error when version feature flag disabled"

What does this MR do?

As discussed in #213367 (closed), this MR modifies the internal git api for snippet repos when the version_snippets feature flag is disabled, so that it allows the check to continue if the protocol is "web" (i.e. the request is being made as a result of an action through the UI).

This is because otherwise user's will experience the The project you were looking for could not be found error if they attempt to update a versioned snippet, if the feature flag is disabled for them (or globally) later on.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Closes #213367 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports