You are here: Foswiki>Tasks Web>Item417 (08 Jan 2009, KwangErnLiew)Edit Attach

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

pencil
Priority: Normal
Current State: Closed
Released In: 1.0.0
Target Release: patch
Applies To: Engine
Component: ApacheHtpasswdUser
Branches:
Reported By: Foswiki:Main.SeanMcCarthy
Waiting For:
Last Change By: KwangErnLiew
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 distro:328d865eb635
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 Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy