Feed Manager in Sub Sites throws Exception

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
3/1/2009 5:35:48 AM
Gravatar
Total Posts 3

Feed Manager in Sub Sites throws Exception

Hi Joe,

working since a while with mojoportal. Few days ago I've moved to the new version 2.2.8.6 MSSQL.

Playing arround with the Feed Manager module i found out that on the main Site it works perfect, but in sub Sites

it throws n exception if i try to click "Add/Edit Feeds" link.

The result is always "We're sorry but we could not find the page you are looking for. Please try the Site Map.".

I took a look in the System Log and got this stack trace:

2009-03-01 12:13:59,572 ERROR mojoPortal.Web.PageNotFoundHttpModule - PageNotFoundHttpModule handled error.
System.Web.HttpException: The file '/FeedManagFeedEdit.aspx' does not exist.
at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

I hope it is helpful for you to discover the reason for that bug.

Thanks for your support in advance.

 

Kind regards

Kris

3/1/2009 5:45:24 AM
Gravatar
Total Posts 18439

Re: Feed Manager in Sub Sites throws Exception

Hi Kris,

Are you sure you uploaded all the new files?

I cannot reproduce the problem.

Clearly this part of your error message: The file '/FeedManagFeedEdit.aspx' does not exist.

shows an incorrect url but I searched the code and that is not to be found, the correct url would be  'FeedManager/FeedEdit.aspx 

I think it is more likely a bug in an older version but not the current version so I would try uploading the files again, especially FeedManager files and in the bin the mojoPortal.Features.UI.dll

Hope it helps,

Joe

3/1/2009 6:37:21 AM
Gravatar
Total Posts 3

Re: Feed Manager in Sub Sites throws Exception

Hi Joe,

thanks for your answer - that was incredible fast :)

I followed your advice and updated to the next version (2.2.9.2 MSSQL).

But got still the same exception in the system log:

2009-03-01 13:15:08,418 ERROR mojoPortal.Web.PageNotFoundHttpModule - PageNotFoundHttpModule handled error.
System.Web.HttpException: The file '/FeedManagFeedEdit.aspx' does not exist.

This time after knewing you've searched the source code for '/FeedManagFeedEdit.aspx' and got no hits

i noticed that the missing part of this URL is exactly the name of my sub site's folder mapping 'ER'.

 

Probably during the parsing and modifying the url in your MapHttpHandler the folder mapping is

extracted/replaced at the wrong place resulting the corrupt URL.

 

This would also explain why you didn't find any static strings like '/FeedManagFeedEdit.aspx' in the code,

cause this URL rewriting is dynamic.

 

Do you think you could provide a fix for this bug soon ?

 

(meanwhile I would work with longer site folder mapping names, which surely do not

match any part of the words FeedManager or FeedEdit )

 

Thanks a lot for your support and many greetings

Kris

3/1/2009 7:00:15 AM
Gravatar
Total Posts 18439

Re: Feed Manager in Sub Sites throws Exception

Hi Kris,

Your analysis is correct, I can produce the problem when I make a folder site with er, good job diagnosing this, I will look into it right now.

Best,

Joe 

3/1/2009 7:23:04 AM
Gravatar
Total Posts 18439

Re: Feed Manager in Sub Sites throws Exception

This is now fixed in svn trunk and will be fixed in the next release.

Thanks!

Joe 

3/1/2009 7:47:00 AM
Gravatar
Total Posts 3

Re: Feed Manager in Sub Sites throws Exception

Hi Joe,

once again many thanks for your immediate answers and support - you do a really great job with mojoportal.

Many greetins from Germany

Kris

You must sign in to post in the forums. This thread is closed to new posts.