Item12004: Infinite loop with non paged requests
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: LdapContrib
Branches: trunk
--
MatthiasEble - 19 Jul 2012
Hi all, there's an infinite loop in
LdapContrib.pm when using non-paged Requests.
following patch fixes the problem for me:
# diff -u LdapContrib.orig LdapContrib.pm
--- LdapContrib.orig 2012-07-19 16:12:46.000000000 +0200
+++ LdapContrib.pm 2012-07-19 16:13:10.000000000 +0200
@@ -830,7 +830,9 @@
#writeDebug("ok, no more cookie");
last;
}
- }
+ } else {
+ last;
+ }
} # end reading pages
#writeDebug("done reading pages");
beside that, disabling page requests using
$Foswiki::cfg{Ldap}{PageSize} = 0;
didn't work. I had to use -1 to get everything in a bunch.