Hi All,
i have installed Drupal (7.1.2), modules View (7.x-3.1) and FullCalendar (7.x-2.0-beta3) , as required. I have also created a dedicated content type 'Event', embedding a field Date.
My view correctly shows all the events, but the drap&drop action on the calendar don't update the corresponding field date. These actions are made on my testing website, as Administrator, and corresponding permissions are up to date.
Then, i don't understand how to allow that. It's certainly because i'm a newbie onto Drupal 7 ;-)
Please to help me.
Thanks in advance
Fred

Comments

Simon Georges’s picture

I just closed #1488656: Drag&Drop doesn't update the date field as a duplicate of this one.

awesini’s picture

Version: 7.x-2.0-beta3 » 7.x-2.0

Sounds like the same problem for me. There seems to be an issue with Firefox. (I'm using 19.0.2 - Have also reset to factory default settings)

Actions:
1) Drag existing event to "new day".
2) Nothing updates (no messages) and I'm taken to page of the node.
3) Hit F5 to refresh and I can see the date in the node update with the "new day".

Same actions above but in Chrome, IE, Opera, Safari:
1) Event is changed/updated.
2) Messaged displays "The new event time has been saved."

I've tried 7.x-2.0, 7.x-2.x-dev.

What's even more bizarre is that we have another test environment and there are no problems in Firefox! I even exported/imported the same view and I still get the problem described above.

Please help!

awesini’s picture

FYI, solved my issue by using older fc libraries. "fullcalendar-1.4.10.zip"

Get them here: http://arshaw.com/fullcalendar/download/

parasolx’s picture

Issue summary: View changes

I don't know if this solution could be related to this issues.

Updating date field need two values, which is start date and end date. In certain condition, the date field only consist of start (or one date enter) only. This could make the error to thrown out since the second value is not found.

So, just try to apply a simple patch in fullcalendar.module (line 170)

  $old_end = $item['value2'];

to:

  $old_end = (!empty($item['value2'])) ? $item['value2'] : $item['value'];

So, if second value didn't exist, it will take first value.