wekan / wekan-gantt-gpl

Wekan with GPLv2 licensed Gantt chart. Deprecated, will be replaced with MIT licensed Gantt chart in MIT WeKan.

Home Page:https://github.com/wekan/wekan/issues/2870#issuecomment-1516992963

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tasks not displayed in Gantt screen

MrLovegreen opened this issue · comments

Issue

Like reported earlier the tasks are not displayed in the Gantt screen (not displayed when entering and not possible to add new ones in the gantt screen).

Server Setup Information:

  • Wekan version: wekan-gantt-gpl (snap) and wekanteam/wekan-gantt-gpl (docker) installed/pulled this weekend
  • Operating System: Ubuntu Linux and Windows 10
  • Deployment Method(snap/docker/sandstorm/mongodb bundle/source): snap (on linux) and docker (on linux and windows) tested
  • Http frontend if any (Caddy, Nginx, Apache, see config examples from Wekan GitHub wiki first): Apache and none
  • Node Version:
  • MongoDB Version:
  • Wekan only works on newest desktop Firefox/Chromium/Chrome/Edge/Chromium Edge and mobile Chrome. What webbrowser version are you using? tested with Firefox, Chrome and Chromium Edge

Problem description:

  • I cant show how it should work as this is my first installation. Attaching screenshot of my card setup. Everything works fine except for the gantt chart not showing the tasks (with error logs in the browser)
  • Explain steps how to reproduce:
    • Add a new board, list and card with start and end date (also tested with all dates filled in; received, start, due and end)
  • *In webbrowser, what does show Right Click / Inspect / Console ?

ReferenceError: LinksData is not defined
at d.View. (31f174aa7b1b984ebfa8a8b92dc56f9a621e15a3.js?meteor_js_resource=true:1089)
at 31f174aa7b1b984ebfa8a8b92dc56f9a621e15a3.js?meteor_js_resource=true:593
at Function.c._withTemplateInstanceFunc (31f174aa7b1b984ebfa8a8b92dc56f9a621e15a3.js?meteor_js_resource=true:593)
at 31f174aa7b1b984ebfa8a8b92dc56f9a621e15a3.js?meteor_js_resource=true:593
at Object.d._withCurrentView (31f174aa7b1b984ebfa8a8b92dc56f9a621e15a3.js?meteor_js_resource=true:593)
at n (31f174aa7b1b984ebfa8a8b92dc56f9a621e15a3.js?meteor_js_resource=true:593)
at t._compute (31f174aa7b1b984ebfa8a8b92dc56f9a621e15a3.js?meteor_js_resource=true:569)
at new t (31f174aa7b1b984ebfa8a8b92dc56f9a621e15a3.js?meteor_js_resource=true:569)
at Object.o.autorun (31f174aa7b1b984ebfa8a8b92dc56f9a621e15a3.js?meteor_js_resource=true:569)
at d.View.autorun (31f174aa7b1b984ebfa8a8b92dc56f9a621e15a3.js?meteor_js_resource=true:593)
at d.TemplateInstance.autorun (31f174aa7b1b984ebfa8a8b92dc56f9a621e15a3.js?meteor_js_resource=true:593)
at n.F.H.call.H.call.w. [as autorun] (31f174aa7b1b984ebfa8a8b92dc56f9a621e15a3.js?meteor_js_resource=true:858)
at n.onRendered (31f174aa7b1b984ebfa8a8b92dc56f9a621e15a3.js?meteor_js_resource=true:1089)
at d.TemplateInstance.onRendered (31f174aa7b1b984ebfa8a8b92dc56f9a621e15a3.js?meteor_js_resource=true:858)
at 31f174aa7b1b984ebfa8a8b92dc56f9a621e15a3.js?meteor_js_resource=true:593
at Function.c._withTemplateInstanceFunc (31f174aa7b1b984ebfa8a8b92dc56f9a621e15a3.js?meteor_js_resource=true:593)

  • If using Snap, what does show command sudo snap logs wekan.wekan ? Please anonymize logs.

  • If using Docker, what does show command sudo docker logs wekan-app ? Please anonymize logs.

wekan-app | {"line":"87","file":"percolate_synced-cron.js","message":"SyncedCron: Scheduled "notification_cleanup" next run @sun Aug 08 2021 13:18:59 GMT+0000 (Coordinated Universal Time)","time":{"$date":1628428739553},"level":"info"}
wekan-app | (node:1) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
wekan-app | Exception while invoking method 'ATCreateUserServer' Error: connect ECONNREFUSED 127.0.0.1:587
wekan-app | at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1144:16)

image

image

@xet7 Looking at the code in https://github.com/wekan/wekan-gantt-gpl/blob/master/client/components/gantt/gantt.js, the variable is declared as "LinksDate" on row 168, but referenced as "LinksData" below.

wekan-gantt_issue