Error on drag-and-drop with FC and/or Scheduler
See original GitHub issueHello all,
A similar error has been reported in issue #2786 but seems to be unrelated to what was happening there.
You can reproduce the bug here: https://jsfiddle.net/oehjf27a/2/
As you will see, two errors occurs. One on dragging:
Uncaught TypeError: Cannot read property 'def' of undefined
at constructor.getEventDef (VM305 fullcalendar.min.js:10)
at constructor.Ee.isEventInstanceGroupAllowed (VM305 fullcalendar.min.js:9)
at function.e.constructor.isEventInstanceGroupAllowed (VM305 fullcalendar.min.js:7)
at constructor.hitOver (VM305 fullcalendar.min.js:7)
at constructor.trigger (VM305 fullcalendar.min.js:7)
at constructor.handleHitOver (VM305 fullcalendar.min.js:7)
at constructor.handleDragStart (VM305 fullcalendar.min.js:7)
at constructor.startDrag (VM305 fullcalendar.min.js:6)
at constructor.handleDistanceSurpassed (VM305 fullcalendar.min.js:7)
at constructor.handleMove (VM305 fullcalendar.min.js:6)
and one on dropping:
Uncaught TypeError: Cannot read property 'start' of undefined
at function.e.constructor.buildNewDateProfile (VM305 fullcalendar.min.js:10)
at function.e.constructor.mutateSingle (VM305 fullcalendar.min.js:10)
at VM305 fullcalendar.min.js:10
at Array.forEach (<anonymous>)
at constructor.mutateEventsWithId (VM305 fullcalendar.min.js:10)
at function.e.constructor.reportEventDrop (VM305 fullcalendar.min.js:9)
at VM305 fullcalendar.min.js:7
at i (VM305 fullcalendar.min.js:7)
at constructor.stop (VM305 fullcalendar.min.js:7)
at constructor.interactionEnd (VM305 fullcalendar.min.js:7)
Probably unrelated, but using FC 3.5.1 and scheduler 1.7.0 you have this warning which seems weird since it is the recommended version:
v1.7.0 of FullCalendar Scheduler is incompatible with v3.5.1 of the core.
Please see http://fullcalendar.io/support/ for more information.
Anyway, I’m happy to help if I can otherwise thanks for the excellent work!
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Untitled
Honiton devon flooding, Cool japan festival 2014 schedule, Frokort 2013! ... Las leyendas de andor foro, Jilly bean party supplies, Fc luzern trainingslager ......
Read more >Untitled
Ios twist cheat, 39 birthday wishes, De la sol yoga schedule! ... Fc de kampioenen s03e14, Blinds to go commercial 2014, Katak barbourula,...
Read more >Untitled
1927 world book encyclopedia, Wendover concerts schedule 2015, Aef immo kg, ... Andor solis ccd camera, German guarna tan bionica, Handy telekom netz, ......
Read more >Version 6.1
into a Display Error according to the following formula: ... carrier frequency of the transmitter, therefore the peak is located at Fc on...
Read more >qandamaster463.xml - Chegg
... monthly https://www.chegg.com/homework-help/questions-and-answers/prepare-reconciliation-schedule-convert-2014-income-dec-31-2014-stockholders-equity-us ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@arshaw is there any plans to add recurring or repeating events to the plugin?
@MaxGuitet, scheduler v3.5.1 is actually NOT compatible with v1.7.0 of core. It needs v1.7.1.
The bug is not actually related to scheduler anyway.
The bug is happening due to your events being specified with only a
time
property, which is something that is done only for repeating events. In fact, repeating events are not actually support by fullcalendar officially. They are only for business-hours. When repeating events is officially implemented, I will make sure this works. Until then, it’s “unsupported” unfortunately.Here is a jsfiddle of things working when the start/end are specified as full IEO8601 date strings: https://jsfiddle.net/oehjf27a/5/