Item2432: Unit Tests failing with uninitialized variable in Register.pm

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
Reported By: GeorgeClark
Waiting For: Main.GeorgeClark
Last Change By: KennethLavrsen
Unit tests on trunk locally failing with:

Running FormattingTests
        FormattingTests::test_noppedSquab

OopsException(attention/problem_adding web=>TemporaryFormattingUsersWeb topic=>UserRegistration params=>[ScumBag,Use of uninitialized value in split at /var/www/SVN/foswiki/core/lib/Foswiki/UI/Register.pm line 749.
]) at /var/www/SVN/foswiki/core/lib/Unit/TestCase.pm line 173
        Unit::TestCase::assert_str_equals('FormattingTests=HASH(0x88339ec)', 'thanks', 'problem_adding', 'OopsException(attention/problem_adding web=>TemporaryFormatti...') called at /var/www/SVN/foswiki/core/test/unit/FoswikiFnTestCase.pm line 141
        FoswikiFnTestCase::__ANON__('Foswiki::OopsException=HASH(0x8d1d770)', 'SCALAR(0x821aaac)') called at /var/www/SVN/foswiki/core/lib/CPAN/lib/Error.pm line 305
        eval {...} called at /var/www/SVN/foswiki/core/lib/CPAN/lib/Error.pm line 296
        Error::subs::run_clauses('HASH(0x8d2bd6c)', 'Foswiki::OopsException=HASH(0x8d1d770)', 'undef', 'ARRAY(0x821adc4)') called at /var/www/SVN/foswiki/core/lib/CPAN/lib/Error.pm line 390
        Error::subs::try('CODE(0x8c65930)', 'HASH(0x8d2bd6c)') called at /var/www/SVN/foswiki/core/test/unit/FoswikiFnTestCase.pm line 152
        FoswikiFnTestCase::registerUser('FormattingTests=HASH(0x88339ec)', 'scum', 'Scum', 'Bag', 'scumbag@example.com') called at /var/www/SVN/foswiki/core/test/unit/FoswikiFnTestCase.pm line 77
        FoswikiFnTestCase::set_up('FormattingTests=HASH(0x88339ec)') called at /var/www/SVN/foswiki/core/test/unit/FormattingTests.pm line 20
        FormattingTests::set_up('FormattingTests=HASH(0x88339ec)') called at /var/www/SVN/foswiki/core/lib/Unit/TestRunner.pm line 273
        Unit::TestRunner::runOne('FormattingTests=HASH(0x88339ec)', 'FormattingTests', 'undef') called at /var/www/SVN/foswiki/core/lib/Unit/TestRunner.pm line 101
        Unit::TestRunner::start('Unit::TestRunner=HASH(0x8146d98)', 'FormattingTests.pm') called

-- GeorgeClark

I think this was forgotten to be closed. I have run plenty of clean unit tests in trunk since this bug. Closing

-- KennethLavrsen - 09 Jan 2010

ItemTemplate edit

Summary Unit Tests failing with uninitialized variable in Register.pm
ReportedBy GeorgeClark
Codebase trunk
SVN Range 5667
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor GeorgeClark
Checkins distro:0478007345fa distro:9570daf871c9
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r4 - 09 Jan 2010, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy