question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error on drag-and-drop with FC and/or Scheduler

See original GitHub issue

Hello 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:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
LonerganOnlinecommented, Feb 2, 2018

@arshaw is there any plans to add recurring or repeating events to the plugin?

1reaction
arshawcommented, Sep 25, 2017

@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/

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found