Stopped working with error Error: Argument 'AGM4bf1a78e00984aebbf1b1ce0c260d6dbCtrl' is not a function
I believe since we applied the security patch the component has stopped working, tried switching between debug modes and no change. Guessing the new ClientDependency.Core.dll is causing problems somewhere?
Got a project with over 200 map points in it going live this week and all of a sudden they can't add locations, any help much appreciated.
I just did a test on version 7.1.4, upgrading the ClientDependency.Core.dll (for .net 4.0) and the AngularGoogleMaps still works. Which version of Umbraco are you working on ?
The function 'AGM4bf1a78e00984aebbf1b1ce0c260d6dbCtrl' is located in a url called /App_Plugins/AGM4bf1a78e00984aebbf1b1ce0c260d6db/Resource/controller.js when you have debug switched on in web.config
I'm not sure what is stopping your Umbraco from loading and/or parsing this file correctly. As we have same versions of Umbraco, I suspect it something else that you have loaded (Package, security settings etc) that I don't.
Other than me trying to replicate your environment, and then debug the javascript in AngularJS to figure out what is going wrong. I'm gonna take a punt, and presume its something security. What I'll do now is release a version of AGM, that doesn't use internal resources at all, and **hope** this fixes your error. This will take me a little time to make and test.
Have created version 1.0.3 of AGM, this now uses seperate js, css & html files instead of using internal resources embedded within the dll. Could you try and see if this fixes your error. Hopefully I haven't introduced any new bugs.
Edit: not exactly, i compiled it from the source code to insert the fixes to have it working with archetype, i took the dll from the package and now its working (with archtype also)
Stopped working with error Error: Argument 'AGM4bf1a78e00984aebbf1b1ce0c260d6dbCtrl' is not a function
I believe since we applied the security patch the component has stopped working, tried switching between debug modes and no change. Guessing the new ClientDependency.Core.dll is causing problems somewhere?
Got a project with over 200 map points in it going live this week and all of a sudden they can't add locations, any help much appreciated.
Hi,
I just did a test on version 7.1.4, upgrading the ClientDependency.Core.dll (for .net 4.0) and the AngularGoogleMaps still works. Which version of Umbraco are you working on ?
Cheers
Yes 7.1.4, I have replaced with the old ClientDependency.Core and it is working fine.
Hi,
The function 'AGM4bf1a78e00984aebbf1b1ce0c260d6dbCtrl' is located in a url called /App_Plugins/AGM4bf1a78e00984aebbf1b1ce0c260d6db/Resource/controller.js when you have debug switched on in web.config
<compilation defaultLanguage="c#" batch="false" targetFramework="4.5" debug="true">
I'm not sure what is stopping your Umbraco from loading and/or parsing this file correctly. As we have same versions of Umbraco, I suspect it something else that you have loaded (Package, security settings etc) that I don't.
Other than me trying to replicate your environment, and then debug the javascript in AngularJS to figure out what is going wrong. I'm gonna take a punt, and presume its something security. What I'll do now is release a version of AGM, that doesn't use internal resources at all, and **hope** this fixes your error. This will take me a little time to make and test.
Cheers
Hi Tim,
Have created version 1.0.3 of AGM, this now uses seperate js, css & html files instead of using internal resources embedded within the dll. Could you try and see if this fixes your error. Hopefully I haven't introduced any new bugs.
Cheers
I will give this a go.
i'm having the same error when running the website with debug="false", when i switch to debug="true" the errors are gone
what can i do to resolve this?
umbraco 7.2.1
@Eran
Are you using the latest version of AngularGoogleMaps (version 1.0.3) ?
yes
Edit: not exactly, i compiled it from the source code to insert the fixes to have it working with archetype, i took the dll from the package and now its working (with archtype also)
is working on a reply...