ForumView and ThemeVirtualFile errors

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.
7/6/2007 10:58:25 AM
Gravatar
Total Posts 11

ForumView and ThemeVirtualFile errors

1.  /Web/ForumView.aspx

In the <%@ Page %> directive, the MasterPageFile is explicitly referencing the subblue skin.  This creates issues if the subblue skin is removed.

2.  /Web/Components/mojoThemeVirtualFile.cs

Line 73:   return File.Open(filePath, FileMode.Open)

This should be changed to either of the following

A.  return File.Open(filePath, FileMode.Read)

B.  return File.OpenRead(filePath)

FileMode.Open will break if the file is read-only

7/6/2007 11:18:56 AM
Gravatar
Total Posts 18439

Re: ForumView and ThemeVirtualFile errors

I will fix and have in svn later today.

I'll go with option B since there does not appear to be FileMode.Read as an option there.

Thanks,

Joe

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