Board has javascript error, task can't be dragged

Created on 19 July 2023, 11 months ago
Updated 21 July 2023, 11 months ago

Problem/Motivation

It's not clear to me from the documentation how to move a task across columns on burndown/board/{name}. I think it should be possible to drag the task, since when I hover over the task it shows the grab cursor. However, I can't grab the task. Chrome browser console shows:

Uncaught ReferenceError: NULL is not defined
    at urlParam (burndown.board.js?v=9.5.9:188:24)
    at HTMLBodyElement.<anonymous> (burndown.board.js?v=9.5.9:13:23)
    at Function.each (jquery.min.js?v=3.6.3:2:3003)
    at E.fn.init.each (jquery.min.js?v=3.6.3:2:1481)
    at Object.attach (burndown.board.js?v=9.5.9:11:35)
    at drupal.js?v=9.5.9:24:24
    at Array.forEach (<anonymous>)
    at Drupal.attachBehaviors (drupal.js?v=9.5.9:21:34)
    at drupal.init.js?v=9.5.9:24:12
    at HTMLDocument.listener (drupal.init.js?v=9.5.9:14:7)

I also can't drag task up or down the board relative to other tasks.

Steps to reproduce

1. Install burndown.
2. Create a project
3. Add task to project backlog
4. Send task to board
4. Visit board

🐛 Bug report
Status

Needs review

Version

1.0

Component

User interface

Created by

🇳🇿New Zealand jonathan_hunt

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jonathan_hunt
  • 🇨🇦Canada jeremylichtman

    Looks like a duplicate of issue #3373501.

    I think something must have changed recently in how "each" works.

  • 🇨🇦Canada jeremylichtman

    Actually it is not a duplicate of the other issue.

    I've added a quick fix, and created tag 1.0.35.

    Hope that fixes it for you. You may need to clear browser cache as it is a js change.

  • Status changed to Needs review 11 months ago
  • 🇮🇳India sahil.goyal

    As mention in #3 Issue already been observed and the quick fix has already been added for tag 1.0.36 and it resolved for the tagged branch, and for that no console error shown as well task can be draggable, Moving this issue to NR

Production build 0.69.0 2024