NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item417: Undefined subroutine &Foswiki::Users:: ApacheHtpasswdUser::ListIterator called

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine ApacheHtpasswdUser  
BulkResetPassword page throwing error:

Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.

Undefined subroutine &Foswiki::Users::ApacheHtpasswdUser::ListIterator called

The problem is in the fetchUsers() method in Foswiki::Users::ApacheHtpasswdUser. The fix is simple, mirror what is done in Foswiki::Users::HtpasswdUser.

Namely:

    require Foswiki::ListIterator;
    return new Foswiki::ListIterator( \@users );

-- Foswiki:Main.SeanMcCarthy

Small edit in headline to fix the table view of all bugs * KennethLavrsen - 09 Dec 2008

Sean - are you done with this one?

You checked in code. But did not close the bug.

Looking at the suggested fix and the checkin I see a perfect match. I just think the reporter forgot to close the bug.

ItemTemplate edit

Summary Undefined subroutine &Foswiki::Users:: ApacheHtpasswdUser::ListIterator called
ReportedBy Foswiki:Main.SeanMcCarthy
Codebase trunk
SVN Range TWiki-4.2.3, Wed, 06 Aug 2008, build 17396
AppliesTo Engine
Component ApacheHtpasswdUser
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:1212
TargetRelease patch
ReleasedIn 1.0.0
Topic revision: r7 - 08 Jan 2009, KwangErnLiew
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads