"The Url is already in use", but is not in DB

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.
4/10/2008 5:43:43 AM
Gravatar
Total Posts 43

"The Url is already in use", but is not in DB

Hi,

Trying to set a short URL for a page, my mojoPortal says "The Url is already in use." when pressing save. As you can see from the screenshot showing the portal's database pages table there's no such URL in the portal.

I previously tried to rename the page, and it didn't rename somehow - I don't remember why.

Where else might a cache of the name rd.aspx be kept, if not in the database?

Kenny

4/10/2008 5:50:34 AM
Gravatar
Total Posts 18439

Re: "The Url is already in use", but is not in DB

I would check also the mp_FriendlyUrls table.

Hope it helps,

Joe

4/10/2008 6:23:15 AM
Gravatar
Total Posts 43

Re: "The Url is already in use", but is not in DB

Hi,

It's in the mp_FriendlyUrls table indeed, and the PageGuid matches correctly with the page I'm trying to change.

I could rename the URL in the databse to something obscure which would certainly let me get on and use it again, but I don't understand why mojoPortal won't let me re-use the url - it's for the same page after all.

All the best,

Kenny

4/10/2008 6:39:02 AM
Gravatar
Total Posts 18439

Re: "The Url is already in use", but is not in DB

It is a bug I will fix it. The issue is that it won't let you set the url in the page record to the friendly url which is already pointing to the page.

For a workaround go into Administration > Url Manager and delete the existing friendly url. Then when you set it on the page settings it will be re-created and back in sync.

Best,

Joe

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