Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • TimMather 67 posts 78 karma points
    Feb 11, 2015 @ 09:54
    TimMather
    0

    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.

  • Jonathan Richards 288 posts 1742 karma points MVP
    Feb 11, 2015 @ 10:38
    Jonathan Richards
    0

    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

     


     

  • TimMather 67 posts 78 karma points
    Feb 11, 2015 @ 10:47
    TimMather
    0

    Yes 7.1.4, I have replaced with the old ClientDependency.Core and it is working fine.

  • Jonathan Richards 288 posts 1742 karma points MVP
    Feb 11, 2015 @ 11:20
    Jonathan Richards
    0

    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

     

  • Jonathan Richards 288 posts 1742 karma points MVP
    Feb 11, 2015 @ 12:23
    Jonathan Richards
    0

    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

     

     

     

     

     

  • TimMather 67 posts 78 karma points
    Feb 11, 2015 @ 12:27
    TimMather
    0

    I will give this a go.

  • Eran Meir 401 posts 543 karma points
    Feb 24, 2015 @ 13:13
    Eran Meir
    0

    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

  • Jonathan Richards 288 posts 1742 karma points MVP
    Feb 24, 2015 @ 13:18
    Jonathan Richards
    1

    @Eran

    Are you using the latest version of AngularGoogleMaps (version 1.0.3) ?

     

  • Eran Meir 401 posts 543 karma points
    Feb 24, 2015 @ 14:28
    Eran Meir
    0

    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)

Please Sign in or register to post replies

Write your reply to:

Draft