context
Faults seen after upgrade from 4.2.3 to 4.3.1.
config
- $TWiki::cfg{LoginManager} = 'TWiki::LoginManager::ApacheLogin'
- $TWiki::cfg{Register}{AllowLoginName} = 0
symptoms
view: Use of uninitialized value in string eq at /var/www/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471.
view: Can't call method "normalizeWebTopicName" on an undefined value at /var/www/twiki/lib/TWiki/Func.pm line 1306.
discussion
Errors occur in browser when trying to view a page.
I can't adequately explain why this problem occurs, except that it has to do with the TWiki singleton's constructor calling functions in other classes that refer to TWiki object properties that haven't been set yet.
Please review the attached patch; it should give a good overview.
--
TWiki:Main/TomaszGrzegurzko
- 29 May 2009
This needs to be investigated. What is the
{UserMappingManager}
and
{PasswordManager}
?
--
TWiki:Main.PeterThoeny
- 01 Jun 2009
I'm seeing the same issue with
TWikiUserMapping.pm line 471 on a brand new 4.3.1 install. wiki admin doesn't generate the error, only users that are created generate them. It happens for every page turn. Seems like everything is working while still generating the error. I also had
ApacheLogin set at one point, so I'm not sure if that contributed to the issue. I have the following config:
$TWiki::cfg{UserMappingManager} = 'TWiki::Users::TWikiUserMapping';
$TWiki::cfg{PasswordManager} = 'TWiki::Users::HtPasswdUser';
$TWiki::cfg{LoginManager} = 'TWiki::LoginManager::TemplateLogin';
--
TWiki:Main.MarioScubla
- 25 Aug 2009