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.
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 ?
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.
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
Removing achetypePropertyEditorResource from this line does indeed fix the problem, i am just not sure if it causes any new ones.
Kevin
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 ?
Hi,
I am using the package,
I didn't remove the line, just the reference to
archetypePropertyEditorResource
at the end.Kevin
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
Hi
yeah not a big problem for me, the change above appears to be working for the site I am using it on.
Kevin
I have the same problem.
and was wandering if u accidentally made a dependency to archetype datatype ?
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.
is working on a reply...