Can you confirm that you have on your instance FullCalendar dependecy version 2.1.9 and not 2.2?
This could have been updated through another application or manually and the minimum supported version for this application is 2.1.9.
Here is the screenshot for the versions of the extensions. It’s 2.1.9, but should I update manually to 2.2, or absolutely not ?
Then what is your advice ?
Many thanks !
Caroline
You should definitely not, since this application supports for now 2.1.9. I just wanted to be sure that this upgrade was not the source of your error.
Also, you are using the last version of Mocca Calendar. You reproduced this errors since you did the upgrade? Or everything worked fine after you did it?
Does this error appear when editing a blog post, too? (The selection of the categories a blog post is associated with also depends on jQuery, although this is only optional - I think selecting categories for a blog entry works in any case, just adding new categories on the fly does not.)
Can you tell us which browser you are using?
Maybe there is something in a very recent browser version that breaks jQuery.
I don’t have the blog functionality, it is an extension that didn’t install as I don’t have the use of it.
I use Firefox 68.0.1, an I tested with other browser (for example Chrome 78.0) with the same result.
I don’t know if it is linked, but it seems my task manager also as a problem:
The most likely explanation I have for the moment is that the configuration for the “require.js” has not gotten the proper information where to load the jQuery lib. I will try to check if I can somehow reproduce it. (I wondered for a moment if it something like an older tomcat version that does not handle “webjars”, but that is unlikely for a Debian distribution package.)
(linebreaks added for marginally better readability).
I simply do not have much experience with this require JS debugging … but I guess if you try something similar, then the part for jquery is missing?
oh, and it is possibly unrelated, but I get an error in the console saying something like:
TypeError: cannot use 'in' operator to search for "length" in "Bienvenue sur vo..."
this happens on the home page if I am not logged in, as I am not allowed to access the XWiki.DocumentTree and thus some data is not returned in the proper format.
Interestingly this error message comes from within jquery - that is just the library that is missing in the calendar and task manager. It certainly is loaded on the start page.
Oh, I now see I have been in the wrong track.
I am able to reproduce the issue by editing the calendar macro by trying to include the “DatePickerExtension” from the wrong (old) place.
Can you please check if the following pages exist in your wiki:
If both exist, could you please remove the second one (the one without “/Code/” in the URL.
Afterwards restart the XWiki service or edit the first page (as an Admin user), just inserting a space somewhere, and roll back to the previous version afterwards.
I still have the TaskManager error (on every page, not only calendar), so I guess it was not related :
TypeError: a is nullTaskManagerSheet:1:133 <anonyme> https://xwiki.r-mes.ovh/xwiki/bin/jsx/TaskManager/TaskManagerSheet?language=fr&docVersion=2.1:1 <anonyme> https://xwiki.r-mes.ovh/xwiki/bin/jsx/TaskManager/TaskManagerSheet?language=fr&docVersion=2.1:1
The error message coming from the TaskManager has been found and fixed and the fix will be released soon. The cause for it turned out to be harmless, so you can ignore it in the mean time.