We have moved to GitHub Issues
Created by Richard Soeteman 19 Nov 2013, 10:26:33 Updated by Richard Soeteman 20 Nov 2013, 04:48:39
When updating the password of the member the following error is shown "Could not change password, error: Data at the root level is invalid. Line 1, position 1. (see log for full details)"
The error from logfile:
2013-11-19 11:23:51,854  WARN Umbraco.Web.Security.WebSecurity - [Thread 15] Could not change member password. Exception: System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1. 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) at umbraco.cms.businesslogic.property.Property.ToXml(XmlDocument xd) at umbraco.cms.businesslogic.Content.XmlPopulate(XmlDocument xd, XmlNode& x, Boolean Deep) at umbraco.cms.businesslogic.member.Member.generateXmlWithoutSaving(XmlDocument xd) at umbraco.cms.businesslogic.Content.XmlGenerate(XmlDocument xd) at umbraco.cms.businesslogic.member.Member.Save() at umbraco.providers.members.UmbracoMembershipProvider.PerformChangePassword(String username, String oldPassword, String newPassword) in f:\TeamCity\buildAgent\work\e1a0ddf7a1349eaf\src\umbraco.providers\members\MembersMembershipProvider.cs:line 217 at Umbraco.Web.Security.WebSecurity.ChangePassword(String username, ChangingPasswordModel passwordModel, MembershipProvider membershipProvider)
Same for the password reset functionality
This is the weirdest thing, for now I've turned off the image cropper toxml method which is what was causing the issue, so the symptom is gone, and will do some more investigation on why this happens, there must be some rogue event handler involved.
This is using the latest codebase or the RC?? This is the same error as here: http://issues.umbraco.org/issue/U4-3317 I cannot replicate this.
Was the latest Nightly I tried and sorry for the duplicate one, I've searched for all open issues and missed that closed one
I'm gonna leave the code per has commented out, if this issue is still occurring even after the other fixes it is incredibly strange, i'd have no idea how the imagecropper ToXMl would be firing. We'll consider this fixed since that code won't execute.
I'll check the latest nightly now also that includes that code form per.
Yep this is fixed, maybe all other issues were related to the toxml under water also?
Assignee: Shannon Deminick
Backwards Compatible: True
Affected versions: 7.0.0
Due in version: 7.0.0