Error when trying to edit simple address

Vote:
 

When editing a page, after typing a value in the "Simple address" field and clicking outside the box (triggering a save draft, I presume), the UI will show the "Offline, can't save" message. 

The console outputs the error:

POST http://local.mysite.no/console/cms/Stores/contentdata/311166_446589 500 (Internal Server Error) dojo.js:15xhr dojo.js:15dojo.xhr dojo.js:15_a7c._xhr widgets.js:2(anonymous function) widgets.js:2(anonymous function) dojo.js:15when dojo.js:15_a7c.xhr widgets.js:2_a52.patch widgets.js:2_1843._saveProperties widgets.js:2_1843._synchronizeItem widgets.js:2(anonymous function) widgets.js:2(anonymous function) dojo.js:15_1843._startSynchronizeInterval widgets.js:2_1843.save widgets.js:2(anonymous function) widgets.js:2(anonymous function) dojo.js:15_2e9 dojo.js:15_2e3 dojo.js:15resolve dojo.js:15_2c4 dojo.js:15_2c2 dojo.js:15resolve.callback dojo.js:15(anonymous function) widgets.js:2(anonymous function) dojo.js:15_2e9 dojo.js:15_2e3 dojo.js:15resolve dojo.js:15_2ef dojo.js:15_2e9 dojo.js:15_2e3 dojo.js:15resolve dojo.js:15_2c4 dojo.js:15_2c2 dojo.js:15resolve.callback dojo.js:15_2e9 dojo.js:15_2e3 dojo.js:15resolve dojo.js:15_2c4 dojo.js:15_2c2 dojo.js:15resolve.callback dojo.js:15(anonymous function) widgets.js:2(anonymous function) dojo.js:15_2e9 dojo.js:15_2e3 dojo.js:15resolve dojo.js:15_2c4 dojo.js:15_2c2 dojo.js:15resolve.callback dojo.js:15_2c4 dojo.js:15_2c2 dojo.js:15resolve.callback dojo.js:15_2c4 dojo.js:15_2c2 dojo.js:15resolve.callback dojo.js:15_2c4 dojo.js:15_2c2 dojo.js:15resolve.callback dojo.js:15_2c4 dojo.js:15_2c2 dojo.js:15resolve.callback dojo.js:15(anonymous function) dojo.js:15_2e9 dojo.js:15_2e3 dojo.js:15resolve dojo.js:15_2ef dojo.js:15_2e9 dojo.js:15_2e3 dojo.js:15resolve dojo.js:15_2ef dojo.js:15_2e9 dojo.js:15_2e3 dojo.js:15resolve dojo.js:15_2ef dojo.js:15_2e9 dojo.js:15_2e3 dojo.js:15resolve dojo.js:15_4e7 dojo.js:15_4f3 dojo.js:15
_30e {stack: "Error: Unable to load /console/cms/Stores/contentd…/7.14.0.0/ClientResources/dojo/dojo.js:15:132313)", message: "Unable to load /console/cms/Stores/contentdata/311166_446589 status: 500", response: Object, status: 500, responseText: "
↵
↵ 
↵ "…} dojo.js:15



After this the UI becomes unresponsive and I have to refresh the page. Any suggestions on how to proceed?

Thanks!

#109866
Oct 16, 2014 10:09
Vote:
 

try browsing to http://local.mysite.no/console/cms/Stores/contentdata/311166_446589 to see what the internal server error is

#109871
Oct 16, 2014 10:26
Vote:
 

Browsing the url gives the output below. I'm not quite sure what to make of it - I can't spot any immediate issues?

{}&&{"editablePreviewUrl":"http://local.mysite.no/console/CMS/Content/sider/sectionpage_test,,311166_446589/?epieditmode=True","isNewVersionRequired":false,"isCommonDraft":false,"isMasterVersion":false,"publishedBy":"admin","lastPublished":"2014-10-16T08:29:37.223Z","versionCreatedBy":"admin","versionCreatedTime":"2014-10-16T07:58:57.75Z","visibleToEveryOne":true,"isPendingPublish":false,"existingLanguageBranches":[{"name":"Norwegian","languageId":"no","isMasterLanguage":true,"commonDraftLink":"311166_446601","urlSegment":"no","accessMask":63}],"publicUrl":"http://local.mysite.no/sider/sectionpage_test/","downloadUrl":"","previewUrl":"http://local.mysite.no/console/CMS/Content/sider/sectionpage_test,,311166_446589/?epieditmode=False","hasTemplate":true,"accessMask":63,"accessRights":63,"name":"sectionpage_test","contentLink":"311166_446589","parentLink":"349","uri":"epi.cms.contentdata:///311166_446589","contentGuid":"04bafc3b-afd6-454e-9166-adfee14a13ef","contentTypeID":262,"contentTypeName":"Section Page","currentLanguageBranch":{"name":"Norwegian","languageId":"no","isMasterLanguage":true,"commonDraftLink":null,"urlSegment":null,"accessMask":0},"assetsFolderLink":"311167","properties":{"icontent_name":"sectionpage_test","icontent_contentlink":"311166_446589","icontent_parentlink":"349","icontent_contenttypeid":262,"icontent_isdeleted":false,"icategorizable_category":[],"iversionable_ispendingpublish":false,"iversionable_startpublish":"2014-10-16T06:04:02Z","iversionable_stoppublish":null,"iversionable_shortcut":{"pageShortcutType":0,"pageShortcutTypeName":"No shortcut","pageTargetFrame":null,"pageShortcutLink":null,"pageLinkURL":"/Templates/Pages/SectionPage.aspx?id=311166"},"iversionable_expire":{"stopPublish":null,"archiveLink":null},"ichangetrackable_created":"2014-10-16T06:04:02Z","ichangetrackable_createdby":"admin","ichangetrackable_changed":"2014-10-16T06:04:14.043Z","ichangetrackable_setchangedonpublish":false,"ichangetrackable_changedby":"admin","ichangetrackable_saved":"2014-10-16T07:58:57.75Z","ichangetrackable_deletedby":"","ichangetrackable_deleted":null,"iroutable_routesegment":"sectionpage_test","pageFolderID":0,"pageTypeName":"SectionPagePageType","pageMasterLanguageBranch":"no","pageLanguageBranch":"no","pageContentAssetsID":"69398dc7-3ad5-4580-b713-cc6779d18548","pageContentOwnerID":null,"pageVisibleInMenu":true,"pageChildOrderRule":1,"pagePeerOrder":100,"pageExternalURL":null,"pageArchiveLink":null,"pageShortcutType":0,"pageShortcutLink":null,"pageTargetFrame":null,"pageLinkURL":"/Templates/Pages/SectionPage.aspx?id=311166","mainArea":null,"extensionPageProperty":null,"presentationSeparator":null,"presentationText":null,"presentationPicture":null,"presentationPictureAlign":"RIGHT","presentationPictureWidth":100,"presentationPictureHeight":null,"presentationPictureAltText":null,"presentationLinkText":null,"metaDescription":"123","metaKeywords":"321","browserTitle":"qwe","mainContentArea":null},"inUseNotifications":[],"created":"2014-10-16T06:04:02Z","createdBy":"admin","changed":"2014-10-16T06:04:14.043Z","changedBy":"admin","deletedBy":"","deleted":null,"saved":"2014-10-16T07:58:57.75Z","isDeleted":false,"capabilities":{"deleteLanguageBranch":true,"versionable":true,"dynamicProperties":true,"isPage":true,"languageSettings":true,"resourceable":true,"language":true,"securable":true},"providerCapabilityMask":1023,"status":2,"typeIdentifier":"mysite.web.templates.types.sectionpagepagetype","ownerTypeIdentifier":null}
#109874
Oct 16, 2014 10:54
Vote:
 

I found the error.

For historical reasons my site definition originally contained three host names:

  • local.mysite.no:*
  • local.mysite.no
  • *

When EPiServer tries to save the page (the draft), the url looks like this "http://local.mysite.no:*/MyAwesomePage/", which is not a valid URI.

The Fix: delete host name in admin mode suffixed with ":*".

#111707
Oct 17, 2014 16:22
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.