Copied to clipboard

Flag this post as spam?

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


  • Onno Sloof 23 posts 43 karma points
    Jan 07, 2015 @ 14:06
    Onno Sloof
    0

    Problems with missing 'debug="true"' in web.config

    Hi,

    In debug mode, my web.config contains the following:
    <compilation defaultLanguage="c#" debug="true" batch="false" targetFramework="4.5">

    In release mode, my web.config contains the following:
    <compilation defaultLanguage="c#" batch="false" targetFramework="4.5">
    This is the same, only without  debug="true".

    In case of release mode, the AngularGoogleMaps component is not working.
    On http://our.umbraco.org/projects/backoffice-extensions/angulargooglemaps I read in 1.0.1. "Fixed error with release mode, eg. web.config not in debug mode" so I installed latest package, but still the AngularGoogleMaps is only working when I add debug="true"  to the web.config.

    Also, when installing the new package, first I did not see the new package was installed, because version number still is 1.0. Only with the createdate of the dll file I can see a new file is placed.

    Regards,

    Onno Sloof

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 07, 2015 @ 14:25
    Jan Skovgaard
    0

    Hi Onno

    In release mode you should set the debug attribute to "false" - Not remove it.

    Like this <compilation defaultLanguage="c#" debug="false" batch="false" targetFramework="4.5">

    Hope this helps.

    /Jan

  • Onno Sloof 23 posts 43 karma points
    Jan 12, 2015 @ 14:55
    Onno Sloof
    0

    Hi Jan,

    I tried to use this <compilation defaultLanguage="c#" debug="false" batch="false" targetFramework="4.5">

    but this does not work. Only when I change debug to 'true', the google maps component is working.

    Onno

     

  • Joshua Stewart 36 posts 128 karma points c-trib
    Jan 15, 2015 @ 20:32
    Joshua Stewart
    0

    We are experiencing the same issue. When debug="false" is set in the web.config the control fails to load in the Umbraco backend.

  • Jan Bengtsson 64 posts 107 karma points
    Jan 16, 2015 @ 09:52
    Jan Bengtsson
    0

    I have this problem, too - in an Umbraco 7.2.1 installation. It would be nice if this issue could be solved in a near future since AngularGoogleMaps seem to be the most usable map package for Umbraco 7.2 right now.

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jan 16, 2015 @ 10:27
    Dennis Aaen
    0

    Hi Jan,

    I think that you should raise an issue on the issue tracker http://issues.umbraco.org/ so the HQ is aware there might be an issue with the debug attribute in the webconfig.

    /Dennis

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 16, 2015 @ 10:31
    Jan Skovgaard
    0

    Hi guys

    Have you been using other packages or building your own custom plugins? If other packages or your other code works then it might be an issue with this package rather than the umbraco core.

    Since no one else have been reporting issue like this with other packages or custom plugins I suspect it might be something in the package that is causing it.

    You could try having a peek at the source code by going to http://our.umbraco.org/projects/backoffice-extensions/angulargooglemaps and choose the "Source code" tab in the bottom of the page. There is the full source code included in a zip file with a visual studio project and everything.

    I'm suspecting released package might be build in debug mode rather than release mode?

    Hope this helps.

    /Jan

  • Matt Taylor 873 posts 2086 karma points
    Apr 20, 2015 @ 15:51
    Matt Taylor
    0

    This still appears to be a problem.

    I was using v 1.0 that comes with the Hybrid Farmework package and experienced this problem when putting the site on the live server.

    Having upgraded to v 1.0.5 I'm still experiencing the same thing. The map will not appear unless Debug="true". Instead you just see two text boxes.

    Has this not been fixed?

    Regards, Matt

     

  • Jan Bengtsson 64 posts 107 karma points
    Apr 21, 2015 @ 08:32
    Jan Bengtsson
    0

    Matt, I upgraded to version 1.0.4  a few weeks ago and it worked with debug=false.
    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft