Try our conversational search powered by Generative AI!

404 error when creating a visitor group

Found in

EPiServer.CMS.Core 9.12.3

Fixed in

EPiServer.CMS.UI 10.7.1

(Or a related package)

Created

Jan 30, 2017

Updated

Aug 26, 2019

Area

CMS UI

State

Closed, Fixed and tested


Description

The visitor group criteria are using relative URLs, which might cause problems when attempting to the resolve a URL.

geographiclocation.js

this.getTranslation(function () {
 
                function loadContinents(settings, callback) {
                    dojo.xhrGet({
                        url: '../GeographicLocation/GetLocations',
                        handleAs: 'json',
                        error: epi.cms.ErrorDialog.showXmlHttpError,
                        load: function (jsonData) {
                            var store = new dojo.data.ItemFileReadStore({ data: jsonData });
                            continentSelection.store = dojo.store.DataStore({ store: store });
                            if (settings) {
                                if (settings.Continent) {
                                    continentSelection.set('value', settings.Continent);
                                }
                                loadCountries(settings, callback);
                            } else {
                                if (callback) {
                                    callback();
                                }
                            }
                        }
                    });
                }