6.0.0-beta13
4/11/26

[#10979] Horde_Auth_Composite parameters not checked
Summary Horde_Auth_Composite parameters not checked
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester c.denis (at) mrduck (dot) fr
Created 2/11/12 (5173 days ago)
Due
Updated 2/12/12 (5172 days ago)
Assigned
Resolved 2/12/12 (5172 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
12.02.2012 15:27:21 Git Commit Comment #3 Reply to this comment
Changes have been made in Git (develop):

commit 3b553ed03f17be2b1ae00ed2037f1db0aceb6174
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Sat Feb 11 22:06:03 2012 -0700

     Bug #10979: Better error message when missing required parameters.

  framework/Core/lib/Horde/Core/Factory/Auth.php |   10 ++++++++--
  1 files changed, 8 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/3b553ed03f17be2b1ae00ed2037f1db0aceb6174
12.02.2012 05:08:06 Michael Slusarz Assigned to Michael Slusarz
State ⇒ Resolved
 
12.02.2012 05:06:50 Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 3b553ed03f17be2b1ae00ed2037f1db0aceb6174
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Sat Feb 11 22:06:03 2012 -0700

     Bug #10979: Better error message when missing required parameters.

  framework/Core/lib/Horde/Core/Factory/Auth.php |   10 ++++++++--
  1 files changed, 8 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/3b553ed03f17be2b1ae00ed2037f1db0aceb6174
11.02.2012 10:44:31 c (dot) denis (at) mrduck (dot) fr Comment #1
Priority ⇒ 1. Low
New Attachment: 0001-Parameter-checking-of-Horde_Auth_Composite.patch Download
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Horde_Auth_Composite parameters not checked
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Horde_Auth_Composite checks the existence of parameters in the 
constructor, but some manipulation in Horde_Core_Factory_Auth->_create 
preloads the subdrivers admin_driver and auth_driver (lines 110-111) 
before the Horde_Auth_Base object is created by the factory (line 198) 
and the constructor called.

The Error message then is:
Horde_Auth: Class definition of not found.

While it should be:
Missing auth_driver parameter.

Saved Queries