Steps to reproduce:
1. Start a clean Liferay and login as admin.
2. Add a calendar portlet to the default page.
3. Add an event by clicking in the calendar.
The event will be create.
The event cannot be create. Error message shows in the browser console: Uncaught TypeError: Cannot read property 'get' of undefined.