This question about Using an extension: Task filed

FullCalendarPlugin broken in Foswiki 1.1.9

The FullCalendarPlugin seems to break when upgrading from Foswiki 1.1.8 to Foswiki 1.1.9. Functionality is restored by reverting to 1.1.8. The FullCalendarPlugin does not work in 1.1.9 even if I use the same jquery version as is used by 1.1.8 (jquery-1.8.2).

I don't see any problems in Foswiki's error.log or Apache's error_log. The only possible cluse I see using the FAILEDPLUGINS macro is a warning that the redirectCgiQueryHandler is deprecated but in use by HijaxPlugin.

The only error I see in Firebug is:
TypeError: jQuery.curCSS is not a function
https://our.wiki.server/pub/System/FullCalendarPlugin/fullcalendar-1.4.4/fullcalendar.js
Line 3199

-- DevinBougie - 25 Nov 2013

It appears as though JQuery 1.8 removed the curCSS function, though it might be part of JQuery-UI. See https://github.com/jquery/jquery-migrate/issues/29 for some discussion of this. It appears that you can just substitute css for curCSS. I have not used the FullCalenderPlugin though so I can't say for sure.

Another possibility would be to try FullCalendar 1.6.4 - See http://arshaw.com/fullcalendar/download/

I don't recall seeing the maintainer of FullCalendarPlugin (DavidPatterson) around in quite a while. You could open a new task on Tasks.FullCalendarPlugin, and mark it waiting for feedback for DavidPatterson. The extension is marked "CoordinateWithAuthor", so we need his participation in a fix.

-- GeorgeClark - 25 Nov 2013

I locally upgraded from FullCalendar 1.4.4 to 1.6.4. The curCSS error goes away, but the following failure occurs.

Timestamp: 11/25/2013 07:06:20 PM
Error: TypeError: $(...).mouseup(...).fullCalendar is not a function
Source File: http://mytestsite/pub/System/FullCalendarPlugin/fcp.js
Line: 523

-- GeorgeClark - 26 Nov 2013

Devin, did you enable NoConflict? Try to disable it again.
$Foswiki::cfg{JQueryPlugin}{NoConflict} = 0;

-- MichaelDaum - 26 Nov 2013

Hi Michael,

No, I did not enable NoConflict. George's suggestion of replacing curCSS with css did fix the problem. I have now created Tasks.Item12668 .

Many thanks, Devin

-- DevinBougie - 26 Nov 2013
 

QuestionForm edit

Subject Using an extension
Extension FullCalendarPlugin
Version Foswiki 1.1.9
Status Task filed
Related Topics
Topic revision: r5 - 29 May 2014, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy