just upgraded my site to umbraco v6.1.3 but now the edit profile user control stopped working. It is throwing an error on this line: umbraco.library.PublishSingleNode(m.Id); "No document exists with Id 1113".
Which could be true because we're not updating documents rather members. I tried updating it with a newer API call (umbraco.library.UpdateDocumentCache(m.Id)) which gives same error. If I remove the line the member's properties are not updated.
Any ideas? Member.Save() is also called but doens't do anything..
After some more investigation is seems that Member.Save() is working but only on the default properties (like email). The custom properties aren't saved anymore. Code for that is:
foreach (umbraco.interfaces.IDataType df in _dataFields)
{
Property p = m.getProperty(df.DataEditor.Editor.ID);
df.Data.PropertyId = p.Id;
df.DataEditor.Save();
}
edit profile stopped working in v6
just upgraded my site to umbraco v6.1.3 but now the edit profile user control stopped working. It is throwing an error on this line:
umbraco.library.PublishSingleNode(m.Id);
"No document exists with Id 1113".
Which could be true because we're not updating documents rather members. I tried updating it with a newer API call (umbraco.library.UpdateDocumentCache(m.Id)) which gives same error. If I remove the line the member's properties are not updated.
Any ideas? Member.Save() is also called but doens't do anything..
After some more investigation is seems that Member.Save() is working but only on the default properties (like email). The custom properties aren't saved anymore. Code for that is:
Any ideas why that stopped working in v6?
Can a property editor expert chime in and help me explain why the DataEditor doesn't work anymore in V6?
I've filed it as a bug:
http://issues.umbraco.org/issue/U4-2921
please vote if you encounter the same problem.
No workaround yet unfortunately.
fixed by changing above code to:
thanks to Morten Christensen (@sitereactor) for his twitter help!
is working on a reply...