6.0.0-alpha14
6/24/25

[#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 06/20/2014 (4022 days ago)
Due
Updated 06/20/2014 (4022 days ago)
Assigned 06/20/2014 (4022 days ago)
Resolved 06/20/2014 (4022 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/20/2014 09:11:06 PM Michael Rubinsky State ⇒ Resolved
 
06/20/2014 09:10:58 PM 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
06/20/2014 09:10:45 PM 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
06/20/2014 04:53:42 PM Michael Rubinsky Assigned to Michael Rubinsky
State ⇒ Feedback
 
06/20/2014 02:07:48 PM skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ horde-remove-user-data does not remove ActiveSync data
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
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