Error: Argument 'KS.CalendarController' is not a function, got undefined
We have this package setup on our website to handle events, but we have recently noticed that property editor isn't rendering in the Umbraco backend (see screenshot) .... on looking at Google Chrome console we see the following errors:
Error: Argument 'KS.CalendarController' is not a function, got undefined
The version of Umbraco is 7.1.8 - we haven't done any changes to the package or the Umbraco installation - we have a replica site running with the same Packages installed, which doesn't have this issue.
The package version we are using (on both sites) is 0.1.7.3
I haven't seen this issue before, so I'm not sure how to fix it. It sounds like the file editor.controller.js is missing or not loaded. Can you check that this file exist in /App_Plugins/KS.Umbraco7.Calendar. You could also try to edit the package.manifest file. Locate the line that loads the editor.controller.js file, and alter the number after the '?'. Then you have to restart your site, this can be done by touching the web.config-file. Hopefully this will update the script loaded by the clientdependency, so it will include the file.
While you're at it, also check that evry file listed in the package.manifest exists.
You could also put you solution in config-mode, this is done in web.config. Then Umbraco loads all the scripts individualy and you can check the source in Chrome Developer tools to see if all the scripts loads.
Ok we seem to have resolved the issue but notice that "Recur Until" and "Except On" fields are displayed by default (albeit without editors) - is this normal behaviour? See screenshot:
And something that used to happen to us periodically was that when we select a date / time using the picker the value that gets entered into the textbox is "YYYY-09-DD 09:48" - whereby only the month is populated. See screenshot:
This type of error with the datetimepicker can happen after you upgrade from an older version to 0.1.7.3. This version comes with a new datetimepicker and should be resolved by clearing the browser cache.
The lables for "Recure until" and "Except on" showing is most likely a bug. I will look into that for the next release.
Error: Argument 'KS.CalendarController' is not a function, got undefined
We have this package setup on our website to handle events, but we have recently noticed that property editor isn't rendering in the Umbraco backend (see screenshot) .... on looking at Google Chrome console we see the following errors:
Error: Argument 'KS.CalendarController' is not a function, got undefined
Any ideas what maybe causing this?
What version of Umbraco and the package are you using? Have you dona any changes to the package or the Umbraco installation prior to this issue?
The version of Umbraco is 7.1.8 - we haven't done any changes to the package or the Umbraco installation - we have a replica site running with the same Packages installed, which doesn't have this issue.
The package version we are using (on both sites) is 0.1.7.3
I haven't seen this issue before, so I'm not sure how to fix it. It sounds like the file editor.controller.js is missing or not loaded. Can you check that this file exist in /App_Plugins/KS.Umbraco7.Calendar. You could also try to edit the package.manifest file. Locate the line that loads the editor.controller.js file, and alter the number after the '?'. Then you have to restart your site, this can be done by touching the web.config-file. Hopefully this will update the script loaded by the clientdependency, so it will include the file. While you're at it, also check that evry file listed in the package.manifest exists.
You could also put you solution in config-mode, this is done in web.config. Then Umbraco loads all the scripts individualy and you can check the source in Chrome Developer tools to see if all the scripts loads.
Ok we seem to have resolved the issue but notice that "Recur Until" and "Except On" fields are displayed by default (albeit without editors) - is this normal behaviour? See screenshot:
And something that used to happen to us periodically was that when we select a date / time using the picker the value that gets entered into the textbox is "YYYY-09-DD 09:48" - whereby only the month is populated. See screenshot:
Any ideas what might be causing this?
This type of error with the datetimepicker can happen after you upgrade from an older version to 0.1.7.3. This version comes with a new datetimepicker and should be resolved by clearing the browser cache.
The lables for "Recure until" and "Except on" showing is most likely a bug. I will look into that for the next release.
Thanks for your help, I've upgraded our site to Umbraco 7.2.8 and cleared cache both issues have now been resolved.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.