Skip to content

Fix upload-file-experiment-trigger setting base route

What does this MR do?

This MR fixes #332282 (closed), where the browser URL was being changes to something erroneous because a VueRouter was given an incomplete base path.

Also, please check out this investigation.

Screenshots (strongly suggested)

How to test?

You'll need to enable the experiment :empty_repo_upload referenced here by running Feature.enable(:empty_repo_upload) in a rails console.

What should I look for?

Notice that before the browser URL's route changes after visiting the page. When fixed, this should not change.

Before (on master) After (this MR)
Screen_Shot_2021-06-07_at_11.40.55_PM Screen_Shot_2021-06-07_at_11.34.45_PM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #332282 (closed)

Edited by Paul Slaughter

Merge request reports

Loading