Skip to content

Issue Board -> "Remove from board" button when viewing an issue gives js error and fails

Summary

raven.js:302 Uncaught TypeError: Cannot read property 'id' of undefined at https://gitlab.com/assets/webpack/boards.a29e079f5ba05e8c2e60.bundle.js:1:47622 at Array.map (native) at a.removeIssue (https://gitlab.com/assets/webpack/boards.a29e079f5ba05e8c2e60.bundle.js:1:47592) at n (https://gitlab.com/assets/webpack/common_vue.dd1e5edbdabc2f502d64.bundle.js:11:652) at HTMLButtonElement.t (https://gitlab.com/assets/webpack/common_vue.dd1e5edbdabc2f502d64.bundle.js:11:5222) at HTMLButtonElement.n (https://gitlab.com/assets/webpack/raven.61375d9168165e89d174.bundle.js:1:6495)

Steps to reproduce

  1. Go to issues -> boards
  2. Click an issue in the backlog
  3. Click the "Remove from board" button on the right-sidebar

What is the current bug behavior?

The issue is not removed, and there is a js error (see logs section below).

What is the expected correct behavior?

The issue should be removed/deleted.

Relevant logs and/or screenshots

    at https://gitlab.com/assets/webpack/boards.a29e079f5ba05e8c2e60.bundle.js:1:47622
    at Array.map (native)
    at a.removeIssue (https://gitlab.com/assets/webpack/boards.a29e079f5ba05e8c2e60.bundle.js:1:47592)
    at n (https://gitlab.com/assets/webpack/common_vue.dd1e5edbdabc2f502d64.bundle.js:11:652)
    at HTMLButtonElement.t (https://gitlab.com/assets/webpack/common_vue.dd1e5edbdabc2f502d64.bundle.js:11:5222)
    at HTMLButtonElement.n (https://gitlab.com/assets/webpack/raven.61375d9168165e89d174.bundle.js:1:6495)```

### Output of checks

This bug happens on GitLab.com