Exception when creating a new page

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.
2/1/2007 9:02:05 AM
Gravatar
Total Posts 488

Exception when creating a new page

On "Add/Edit Pages":
1. Click "Add New Page".
2. Check "Use Url?" checkbox.
3. Enter url already existing on the web site.
4. Click "Create Page" and get an exception.

2/1/2007 3:29:38 PM
Gravatar
Total Posts 18439

Re: Exception when creating a new page

I've fixed part of this in svn. It now will block you from using a friendly Url that is already being used and display a message about the error.

Note that when I say friendly Url I mean in the form ~/somepage.aspx which maps to a page within the site. Obviously that can only map to one location so friendly urls must be unique, there can be no duplicates allowed.

However the Url property can also be used with fully qualified Urls like http://www.google.com and if used this way there is no url re-writing involved so more than one page in the menu can have the same fully qualified url

For example on mojoPortal.com ~/home.aspx is the home page so I can't create another page in the menu that uses the friendly url ~/home.aspx

However, I can create as many pages as I want with the fully qualified url http://www.mojoportal.com/home.aspx because we are just using the url directly in that case and not creating new instances of the same friendly url.

The exception is fixed and a warning message is shown.

I will also implement the deletion of related friendly urls when deleting pages sometime in the next few days.

Thanks,

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