6.0.0-git
2021-01-24

[#13278] horde-remove-user-data does not remove ActiveSync data
Summary horde-remove-user-data does not remove ActiveSync data
Queue Synchronization
Queue Version FRAMEWORK_5_1
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de
Created 2014-06-20 (2410 days ago)
Due
Updated 2014-06-20 (2410 days ago)
Assigned 2014-06-20 (2410 days ago)
Resolved 2014-06-20 (2410 days ago)
Milestone
Patch No

History
2014-06-20 21:11:06 Michael Rubinsky State ⇒ Resolved
 
2014-06-20 21:10:58 Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit ed23a912a27a5b18de29f1904ca671a6db886dcc
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Fri Jun 20 17:07:59 2014 -0400

     Bug: 13278 Fix removing EAS device pairings via the RemoveUserData API.

  horde/lib/Api.php         |    5 -----
  horde/lib/Application.php |   11 +++++++++++
  2 files changed, 11 insertions(+), 5 deletions(-)

http://github.com/horde/horde/commit/ed23a912a27a5b18de29f1904ca671a6db886dcc
2014-06-20 21:10:45 Git Commit Comment #2 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_2):

commit 5d5b34a8d7e11c7197992018a584a3a8beabd7a7
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Fri Jun 20 17:07:59 2014 -0400

     Bug: 13278 Fix removing EAS device pairings via the RemoveUserData API.

  horde/lib/Api.php         |    5 -----
  horde/lib/Application.php |   11 +++++++++++
  2 files changed, 11 insertions(+), 5 deletions(-)

http://github.com/horde/horde/commit/5d5b34a8d7e11c7197992018a584a3a8beabd7a7
2014-06-20 16:53:42 Michael Rubinsky Assigned to Michael Rubinsky
State ⇒ Feedback
 
2014-06-20 14:07:48 skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ horde-remove-user-data does not remove ActiveSync data
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
Reply to this comment
removeUserData() in HORDE_BASEDIR/lib/App.php is never called, 
therefore the lines

         if ($GLOBALS['conf']['activesync']['enabled']) {
             $GLOBALS['injector']->getInstance('Horde_ActiveSyncState')
                 ->removeState(array('user' => $user));
         }

are not called. If I copy those lines into removeUserData() in 
HORDE_BASEDIR/lib/Application.php, the state is removed, but then two 
PHP errors pop up, see bug #13277

Saved Queries