6.0.0-git
2021-01-18

[#8754] horde.removeUserDataFromAllApplications does not call removeUserData for every application
Summary horde.removeUserDataFromAllApplications does not call removeUserData for every application
Queue Horde Base
Queue Version FRAMEWORK_3
Type Bug
State Resolved
Priority 1. Low
Owners
Requester Valentin.Vidic (at) carnet (dot) hr
Created 2009-12-07 (4060 days ago)
Due
Updated 2009-12-07 (4060 days ago)
Assigned
Resolved 2009-12-07 (4060 days ago)
Milestone
Patch Yes

History
2009-12-07 18:31:16 Michael Rubinsky Version ⇒ FRAMEWORK_3
Queue ⇒ Horde Base
 
2009-12-07 18:30:51 Michael Rubinsky Comment #3
State ⇒ Resolved
Reply to this comment
tweaked and committed, thanks!
2009-12-07 18:30:22 CVS Commit Comment #2 Reply to this comment
Changes have been made in CVS for this ticket:

Registry#hasMethod() returns the app name, not boolean true on success.
Bug: 8754
Submitted by: Valentin (dot) Vidic (at) CARNet (dot) hr
http://cvs.horde.org/diff.php/horde/lib/Attic/api.php?rt=horde&r1=1.43.2.16&r2=1.43.2.17&ty=u
2009-12-07 15:52:20 Valentin (dot) Vidic (at) carnet (dot) hr Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ horde.removeUserDataFromAllApplications does not call removeUserData for every application
Queue ⇒ Horde Groupware Webmail Edition
Milestone ⇒
Patch ⇒ Yes
New Attachment: api.diff Download
Reply to this comment
While testing user delete via api calls I discovered that 
$app.removeUserData doesn't get called at all and user data stays in 
the database. The problem seems to be that the call to 
$registry->hasMethod($api . '/removeUserData') doesn't return true or 
false, but application name or false. Attached patch fixes this check.

Saved Queries