Saving module setting isn't working, if Url of page contains special chars like ü

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.
10/23/2008 4:50:23 AM
Gravatar
Total Posts 16

Saving module setting isn't working, if Url of page contains special chars like ü

If the Url of the page contains special chars like ü,ä or something, the following message appears, if i save module settings:

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

10/23/2008 9:43:25 AM
Gravatar
Total Posts 18439

Re: Saving module setting isn't working, if Url of page contains special chars like ü

I tried to reproduce this here but I did not get the error on my machine. Nevertheless, I suspect it is the same problem reported on this thread, where storing the UrlReferrer in Viewstate seems to lose the special characters. The module settings page has the same kind of logic. I'm going to go through all the code now and change it anywhere I'm currently stroing the url in viewstate. Its not needed anymore anyway because we have a function SiteUtisl.GetCurrentPageUrl() that can get the url.

Thanks,

Joe

10/24/2008 6:15:43 AM
Gravatar
Total Posts 16

Re: Saving module setting isn't working, if Url of page contains special chars like ü

Hello Joe!

I have investigated further. I think the behavior of the error is important.

It simply show a page PageNotFound.aspx?aspxerrorpath=/HIP/montageschl%C3%83%C2%BCssel.aspx, when i click on the Save-button. The page-url is montageschlüssel.aspx, so I guess the encoding of the Url may be the problem. It seems, the ü is encoded as Unicode-mask %C3%83%C2%BC. So the characters are not exactly lost. They are converted.

Hope it helps,

Markus

10/24/2008 7:52:25 AM
Gravatar
Total Posts 18439

Re: Saving module setting isn't working, if Url of page contains special chars like ü

Hi Markus,

I commited changes to svn trunk this morning that "may" fix this. Are you working with source code? Can you get the latest and try it and let me know?

Thanks,

Joe

10/24/2008 9:23:44 AM
Gravatar
Total Posts 16

Re: Saving module setting isn't working, if Url of page contains special chars like ü

OK, I have tried the source. It seems to work. But I develop on a WinXP-machine, my production-environment is a Win2K-server. So I will wait, if it's also fixed there.

cu, Markus

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