Hello,
I am currently hanging on a project and I dont know how to come further. I already have a local version of xwiki hosted with docker and I want to write a plugin to import the milestones of my gitlab-project as a json-file and mark their dates in the calendar. And in fact I already built a version of this plugin and deployed it to my website together with a macro to call for its function. But it doesnt work. When I press the button to fetch the milestones I get the following Errors:
Uncaught Error: Script error for “XWikiAsyncNotificationsMacro” Common Errors
Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
My code is in the Files gitLabKalendar und Milestones, the Macros in the File Macros.
gitLabKalendar.txt (2.0 KB)
Macro.txt (1.6 KB)
Milestones.txt (454 Bytes)
My Webpagelocation:
http://localhost:8080/bin/view/testseite/
If anyone needs more Information I am happy to add if needed.