umbraco.library:GetCurrentMember() fails in v4.0.1 ?
Hi People
Have any of you expierienced that the insertion of umbraco.library.GetCurrentMember() fails?
When I hit save in my macro the following error message is thrown at me
[code]
umbraco.DataLayer.SqlHelperException: Umbraco Exception (DataLayer): SQL helper exception in ExecuteXmlReader ---> System.ArgumentException: The query didn't return a value.
at umbraco.DataLayer.SqlHelper1.ExecuteXmlReader(String commandText, P[] parameters) in d:\inetpub\wwwroot\ccnet\Source\Umbraco 4.0\umbraco\datalayer\SqlHelper.cs:line 314<br />
at umbraco.DataLayer.SqlHelper1.ExecuteXmlReader(String commandText, IParameter[] parameters) in d:\inetpub\wwwroot\ccnet\Source\Umbraco 4.0\umbraco\datalayer\SqlHelper.cs:line 263
--- End of inner exception stack trace ---
at umbraco.DataLayer.SqlHelper`1.ExecuteXmlReader(String commandText, IParameter[] parameters) in d:\inetpub\wwwroot\ccnet\Source\Umbraco 4.0\umbraco\datalayer\SqlHelper.cs:line 267
at umbraco.cms.businesslogic.Content.ToXml(XmlDocument xd, Boolean Deep)
at umbraco.cms.businesslogic.member.Member.ToXml(XmlDocument xd, Boolean Deep)
at umbraco.library.GetCurrentMember()
[/code]
It is in v4.0.1 I expierience this. I just tried to insert the following in a clean macro in v3 and there I have no trouble saving the file.
[code][/code]
Has anyone expirienced something similar?
Do I need to modify something in the installation? Otherwise I think I could alternatively use the GetMember() function, but I would rather use this one.
umbraco.library:GetCurrentMember() fails in v4.0.1 ?
Hi People
Have any of you expierienced that the insertion of umbraco.library.GetCurrentMember() fails?
When I hit save in my macro the following error message is thrown at me
[code]
umbraco.DataLayer.SqlHelperException: Umbraco Exception (DataLayer): SQL helper exception in ExecuteXmlReader ---> System.ArgumentException: The query didn't return a value.
at umbraco.DataLayer.SqlHelper
1.ExecuteXmlReader(String commandText, P[] parameters) in d:\inetpub\wwwroot\ccnet\Source\Umbraco 4.0\umbraco\datalayer\SqlHelper.cs:line 314<br /> at umbraco.DataLayer.SqlHelper
1.ExecuteXmlReader(String commandText, IParameter[] parameters) in d:\inetpub\wwwroot\ccnet\Source\Umbraco 4.0\umbraco\datalayer\SqlHelper.cs:line 263--- End of inner exception stack trace ---
at umbraco.DataLayer.SqlHelper`1.ExecuteXmlReader(String commandText, IParameter[] parameters) in d:\inetpub\wwwroot\ccnet\Source\Umbraco 4.0\umbraco\datalayer\SqlHelper.cs:line 267
at umbraco.cms.businesslogic.Content.ToXml(XmlDocument xd, Boolean Deep)
at umbraco.cms.businesslogic.member.Member.ToXml(XmlDocument xd, Boolean Deep)
at umbraco.library.GetCurrentMember()
[/code]
It is in v4.0.1 I expierience this. I just tried to insert the following in a clean macro in v3 and there I have no trouble saving the file.
[code][/code]
Has anyone expirienced something similar?
Do I need to modify something in the installation? Otherwise I think I could alternatively use the GetMember() function, but I would rather use this one.
is working on a reply...