Skip to content

WIP: Fix for #53041, naming a project "shared" will not open the shared objects tab

What does this MR do?

This is a fix for issue #53041 (moved).

For groups named "shared" or "archived", when opening the group, the UI will immediately jump to the "Shared Projects" or "Archived Projects" tabs.

This MR fixes this, users will now remain in the "Subgroups and Projects" tab as expected.

Details

This is simply a case where the path segment being used to identify the tab location is looking after the first "/", which happens to be the group name. Changing the locator to "/-/" ensures it looks at the proper path segment.

I did not see a good place anywhere in the tests to test for this behavior. I am submitting this as a WIP until I can get feedback on where to add an appropriate test.

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

What risks does this change pose? How might it affect the quality/performance of the product?

As mentioned above, I did not see anywhere where the movement between group tabs is tested (as controlled by the javascript). I am keeping this as a WIP until I can get feedback on where to add an appropriate test.

There appear to be many more

What additional test coverage or changes to tests will be needed?

See comments above.

Will it require cross-browser testing?

No

Closes #53041 (moved)

Merge request reports