Sunday 19 August 2012

Resolving an IOHelper.MapPath issue

We are continuing right on... In the last set of posts, I had made some changes to IOHelper.MapPath(...).  

After the IOHelper.MapPath modification, .../umbraco/presentation/umbraco/dashboard/FeedProxy.aspx no longer loads feeds.

Modify line 27 from,

var feedProxyXml = xmlHelper.OpenAsXmlDocument(IOHelper.MapPath(SystemFiles.FeedProxyConfig));


var feedProxyXml = xmlHelper.OpenAsXmlDocument(SystemFiles.FeedProxyConfig);

The xmlHelper class already uses IOHelper.MapPath, and calling it twice produces an incorect path.

This probably can be fixed in other ways as well. But we will do this for now.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.