Copied to clipboard

Flag this post as spam?

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


  • Kevin Jump 2348 posts 14896 karma points MVP 8x c-trib
    Jul 09, 2015 @ 08:52
    Kevin Jump
    1

    Cannot Set Default Location with 1.0.7

    Hi,

    On a fresh install of umbraco (v7.2.6) you cannot set the default location when creating the datatype - the map doesn't render and any values entered in the box are not saved.

    Debugging in chrome, there appears to be a reference to archetype in the code. (archetypePropertyEditorResource)

    this is reference on line 446 of controller.js

    angular.module("umbraco").controller("AGM81b046644d304191a1413398692df1d6ctrl", function ($scope, $http, assetsService, dialogService, archetypePropertyEditorResource) 
    

    Removing achetypePropertyEditorResource from this line does indeed fix the problem, i am just not sure if it causes any new ones.

    Kevin

  • Jonathan Richards 288 posts 1742 karma points MVP
    Jul 09, 2015 @ 09:49
    Jonathan Richards
    0

    Hi Kevin,

    I think that line is important, without it, there will be no controller for AGM. While that will remove any bugs, it will also remove AGM from loading.

    Could I ask how did you load AGM, via NuGet or downloading and installing the Umbraco Package ?

  • Kevin Jump 2348 posts 14896 karma points MVP 8x c-trib
    Jul 09, 2015 @ 10:55
    Kevin Jump
    0

    Hi,

    I am using the package,

    I didn't remove the line, just the reference to archetypePropertyEditorResource at the end.

    Kevin

  • Jonathan Richards 288 posts 1742 karma points MVP
    Jul 09, 2015 @ 11:02
    Jonathan Richards
    0

    Hi,

    Sadly, this isn't something I can try and fix until the weekend. I'm hoping this bug ain't a show stopper for you.

    Cheers

  • Kevin Jump 2348 posts 14896 karma points MVP 8x c-trib
    Jul 09, 2015 @ 11:09
    Kevin Jump
    1

    Hi

    yeah not a big problem for me, the change above appears to be working for the site I am using it on.

    Kevin

  • Peter Jensen 32 posts 137 karma points
    Jul 10, 2015 @ 13:07
    Peter Jensen
    0

    I have the same problem.

    and was wandering if u accidentally made a dependency to archetype datatype ?

  • Eric Mailloux 10 posts 30 karma points
    Jul 13, 2015 @ 21:50
    Eric Mailloux
    0

    Same probleme, but removing archetypePropertyEditorResource does not work for me. Try to change a bit defaut location code, but seem to read it from spope.model.value.

  • 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.

Please Sign in or register to post replies