Skip to content

Ensure VSM stage has relative position

Adam Hegyi requested to merge 196698-vsm-ensure-relative-position-is-set into master

What does this MR do?

Ensure that all VSM stage has relative position before moving a stage. This fixes a problem where moving a stage after another stage (where the relative position was null) sets the position incorrectly.

How to reproduce:

  1. Go to group VSM.
  2. Add a stage.
  3. Add another stage.
  4. Move "Test" stage to the bottom.
  5. Reload the page
  6. "Test" stage is not at the bottom.

After this MR:

"Test" stage should be under the bottom.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by 🤖 GitLab Bot 🤖

Merge request reports