exportAs printing method throws an error
6 years ago.
Hi,
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...])
StackTrace:
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)
Line:
return g.getLinks().forEach(function(e){e.map(function(e){return g.shiftableSegment(e).shift(l.grid.x-X,l.grid.y-q)})
Build number:
2019.4.4073
We plan to update to recent version, is it maybe fixed meanwhile?
Thanks
DayPilot