search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

DayPilot.Gantt: JS errors when moving collapsed children with paths into collapsed parents

Asked by Leo
2 months ago.

In DayPilot.Gantt, we receive JavaScript errors like

Error: <path> attribute d: Expected number, "M 120 NaN C NaN NaN,Na…".

when moving a collapsed child group into another collapsed group. It can also be observed in the online demo at https://javascript.daypilot.org/demo/gantt/

Replicate in the online demo by:

  • Collapsing Task 0 and Task 1

  • Moving (dragging) Task 1 into Task 0

This creates four JS errors in the console.

Generally speaking, Task 0 and Task 1 are logically connected in a way that would make it generally illogical to do such a move, but we observe users doing it anyways…

Comment posted by Dan Letecky [DayPilot]
2 months ago.

I confirm the bug. It will be fixed shortly.

Answer posted by Dan Letecky [DayPilot]
2 months ago.

This issue should be fixed now in the latest sandbox build (2024.3.5966).

The Scheduler incorrectly tried to render links to events in hidden row.

If there is any problem, just let me know.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.