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

exportAs printing method throws an error

Asked by Steve S.
1 year ago.


we get an error when we try to print daypilot scheduler. We looked into the code and saw that elements in links array are all set to null (array looked like: [null, null, null...])

ERROR TypeError: Cannot read property 'map' of null
at daypilot-angular.min.js:27
at Array.forEach (<anonymous>)
at Object.g.generate (daypilot-angular.min.js:27)
at DayPilot.Scheduler.exportAs (daypilot-angular.min.js:26)

return g.getLinks().forEach(function(e){{return g.shiftableSegment(e).shift(l.grid.x-X,l.grid.y-q)})

Build number:

We plan to update to recent version, is it maybe fixed meanwhile?


Answer posted by Dan Letecky [DayPilot]
1 year ago.

I do not see any error with the latest release so I recommend giving it a try. Please let me know if the problem persists.

Comment posted by Steve S.
1 year ago.

Thank you Dan, we will give it a shot soon.

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