Skip to content

Add conditional to fix error when creating or deleting a board list

Scott Stern requested to merge ss/fix-board-list-create-delete-issue into master

What does this MR do?

After creating a board list that does not have an open list..it was causing errors on add/remove of any list in the board.

This MR guards for this use case

Repro

  1. Go to a board
  2. Add a list WITHOUT the open column
  3. Add a list
  4. Remove a list
  5. Make sure no errors occured

Screenshots or Screencasts (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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 Scott Stern

Merge request reports

Loading