U4-3317 - Creating member fails, Data at root level is invalid

Created by Per Ploug 04 Nov 2013, 23:15:22 Updated by Per Ploug 15 Nov 2013, 07:36:35

Relates to: U4-3417

Clean install, create member, of the type Member. Fill out all required fields, hit save, get below error. tries to re-save, gets a login-name in user error, so it seems, it does save something.

An error occurred Data at the root level is invalid. Line 1, position 1.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.

Stack Trace:

at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.LoadXml(String xml) at umbraco.editorControls.imagecropper.DataTypeData.ToXMl(XmlDocument data) in c:\Umbraco-CMS\src\umbraco.editorControls\imagecropper\DataTypeData.cs:line 16 at umbraco.cms.businesslogic.property.Property.ToXml(XmlDocument xd) in c:\Umbraco-CMS\src\umbraco.cms\businesslogic\Property\Property.cs:line 124 at umbraco.cms.businesslogic.Content.XmlPopulate(XmlDocument xd, XmlNode& x, Boolean Deep) in c:\Umbraco-CMS\src\umbraco.cms\businesslogic\Content.cs:line 402 at umbraco.cms.businesslogic.member.Member.generateXmlWithoutSaving(XmlDocument xd) in c:\Umbraco-CMS\src\umbraco.cms\businesslogic\member\Member.cs:line 830

1 Attachments

Comments

Shannon Deminick 04 Nov 2013, 23:43:49

Any chance you know what data you entered? I can't reproduce this one


Per Ploug 04 Nov 2013, 23:57:21

Just noticed this is the YSOD:

umbraco.editorControls.imagecropper.DataTypeData.ToXMl(XmlDocument data)

Looks like the imagecropper is doing something when I save the member, but dont have a cropper on the membertype


Shannon Deminick 04 Nov 2013, 23:59:48

yeah, what tha! :P

Can you screen shot the properties on your member type?


Per Ploug 05 Nov 2013, 00:01:59

yup


Shannon Deminick 05 Nov 2013, 00:12:27

This is super wacky. Do you have any packages installed?


Shannon Deminick 12 Nov 2013, 06:48:53

@Per, have fixed U4-3485 which might hopefully fix this issue if you can check?


Shannon Deminick 14 Nov 2013, 09:37:55

@Per just assigning to you to see if you can repoduce now, if not please set to fixed.


Priority: Normal

Type: Bug

State: Closed

Assignee: Per Ploug

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.0.0

Sprint:

Story Points:

Cycle: