[xwiki-notifications] [Issue] Created: (XWIKI-2595) Wrong xwiki.authentication.createuser parameter name generation
Aleh Krutsikau (JIRA)
jira at xwiki.org
Thu Jul 31 17:28:54 CEST 2008
Wrong xwiki.authentication.createuser parameter name generation
----------------------------------------------------------------
Key: XWIKI-2595
URL: http://jira.xwiki.org/jira/browse/XWIKI-2595
Project: XWiki Core
Issue Type: Bug
Affects Versions: 1.5
Reporter: Aleh Krutsikau
Priority: Trivial
Please see method getParam(String name, XWikiContext context) in com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl
protected String getParam(String name, XWikiContext context)
{
String param = "";
try {
param = context.getWiki().getXWikiPreference(name, context);
} catch (Exception e) {
}
if (param == null || "".equals(param)) {
try {
param =
context.getWiki().Param(
"xwiki.authentication." + StringUtils.replace(name, "auth_", ".")); !!! Please see.... wrong generation parameter name. Generate "xwiki.authentication..createuser" (Two dot)
} catch (Exception e) {
}
}
if (param == null) {
param = "";
}
return param;
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the notifications
mailing list