Skip to content

Correct the logic on duplicate package toggles

Chris Stone requested to merge cms-package-dup-toggle-fix into master

What does this MR do and why?

Corrects (inverts) the logic on the Reject packages with the same name and version toggles found under: Group > Settings > Packages & Registries > Duplicate Packages as per issue 367659

Based on the description of the option the toggle operation is currently the opposite of the intent.

Screenshots or screen recordings

Screenshot_2022-07-14_at_12.53.31

Screenshot_2022-07-14_at_12.51.42

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Chris Stone

Merge request reports