Due to JavaScript problems, the full edit window of invitees events does not work.
Steps to reproduce
- Deploy Calendar Portlet.
- Add Calendar Portlet to a page.
- Click in "Add Event".
- In the edit window, invite someone (or some resource) to the event.
- Save the event. Close the edit window.
- Open the browser console.
- Click in the event of the invited calendar (not on the main event).
- Try to edit something in the window.
- Check the browser console.
- Check the server console.
Expected results
- The edit window would be responsive. Updating and saving the event would be possible.
- No error message would appear in the browser console.
- No error message would appear in the server console.
Actual results
- The edit window will be unresponsive: it will be impossible to edit any field, no JavaScript code will work, it will be not possible to save the event.
- An error message will appear in the browser console:
Uncaught TypeError: Cannot call method 'create' of undefined
(in Chrome)
- An error message will appear in the server console:
[GoogleJavaScriptMinifier:88] (http://localhost:8080/web/guest/home:1454): Parse error. IE8 (and below) will parse trailing commas in array and object literals incorrectly. If you are targeting newer versions of JS, set the appropriate language_in option. [GoogleJavaScriptMinifier:103] {0} error(s), {1} warning(s)