6.0.0-alpha12
6/12/25

[#12249] Unable to open Personal Settings->Webmail : Class 'Ingo_Basic_Blacklist' not found in /usr/share/php/www/horde/ingo/lib/Api.php on line 57
Summary Unable to open Personal Settings->Webmail : Class 'Ingo_Basic_Blacklist' not found in /usr/share/php/www/horde/ingo/lib/Api.php on line 57
Queue IMP
Queue Version Git master
Type Bug
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester torben (at) dannhauer (dot) info
Created 05/13/2013 (4413 days ago)
Due
Updated 05/13/2013 (4413 days ago)
Assigned 05/13/2013 (4413 days ago)
Resolved 05/13/2013 (4413 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/13/2013 05:12:07 PM Michael Slusarz State ⇒ Resolved
 
05/13/2013 05:11:47 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (master):

commit 515eaae0d304691a57f3abd54eb76ccc6262bfbe
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Mon May 13 11:10:29 2013 -0600

     [mms] Fix regression in accessing Ingo links from the external 
API (Bug #12249).

  ingo/docs/CHANGES |    2 ++
  ingo/lib/Api.php  |   12 +++++++++++-
  ingo/package.xml  |    4 ++--
  3 files changed, 15 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/515eaae0d304691a57f3abd54eb76ccc6262bfbe
05/13/2013 05:09:09 PM Michael Slusarz Comment #3 Reply to this comment
I think either the links() method will need to be refactored to 
remove the class constants, or it will have to push itself onto the 
stack...
The latter.  Since links() explicitly says in its documentation:

      * An application's implementation is responsible for changing/resetting
      * application scope if it is needed within the method (e.g. to use
      * application's prefs).

which I ignored when implementing this in Ingo.
05/13/2013 01:42:26 PM Michael Rubinsky Comment #2
State ⇒ Assigned
Assigned to Michael Slusarz
Reply to this comment
This was caused by:
https://github.com/horde/horde/commit/466f1b165f40128d59147558ae230214a6ee8875#diff-5

and this was my (incorrect) attempt at fixing it that was later 
reverted. I think either the links() method will need to be refactored 
to remove the class constants, or it will have to push itself onto the 
stack...

https://github.com/horde/horde/commits/master/framework/Core/lib/Horde/Registry.php
05/13/2013 11:32:44 AM torben (at) dannhauer (dot) info Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Unable to open Personal Settings->Webmail : Class 'Ingo_Basic_Blacklist' not found in /usr/share/php/www/horde/ingo/lib/Api.php on line 57
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
I'm using the latest H5.1beta and imp beta.

basically it works as expected, but is is not possible to open the 
webmail settings (Personal settings -> Webmail).

then the following PHP error raises.
Fatal error: Class 'Ingo_Basic_Blacklist' not found in 
/usr/share/php/www/horde/ingo/lib/Api.php on line 57

I'm not sure if this bug is located in ingo, in IMP or in horde core.

thanks,
Torben Dannhauer

Saved Queries