Priority: Urgent
Current State: Closed
Released In: n/a
Target Release: minor
If you use an
ApacheConfigGenerator config, which has
ShortURLs configured, but you forget to set
{ScriptUrlPath}{View}
- then the AJAX calls to Foswiki's
UserRegistration look like mysite.org/bin/view/System/UserRegistration, instead of mysite.org/System/UserRegistration. This results in a redirect, and it seems the UserRegistration topic's AJAX calls to check on valid wikiname etc. isn't smart enough to handle it.
So you end up with a wiki that is impossible to register a new user, and now error/feedback whatsoever to indicate why.
The fix is of course to set
{ScriptUrlPath}{view}
to match your apache config. But is there a way that we can improve the javascript so that it doesn't fail silently?
This will be frustrating for any user trying to pick up Foswiki for the first time and has neglected to set their paths properly.
In fact it's frustrated me on many occasions (I just only found out why it wasn't letting me register).
--
PaulHarvey - 01 Jun 2011
As a result of
Item10817
--
PaulHarvey - 18 Jun 2011
Actually result of
Item10203
--
GeorgeClark - 01 Oct 2011
Problem is that the
WikiName check (and login name too) are done using a POST. If the url is mis-configured, the POST redirects to a GET which confuses things.
This seems to be just getting a section of the topic, and works if the POST is changed to GET. Committing but needs validation by
ArthurClemens.
--
GeorgeClark - 01 Oct 2011
This is fine.
--
ArthurClemens - 29 Oct 2011