Item417: Undefined subroutine &Foswiki::Users:: ApacheHtpasswdUser::ListIterator called
Priority: Normal
Current State: Closed
Released In: 1.0.0
Target Release: patch
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.