Summary | Activesync: Clicking on remove button removes the wrong entry |
Queue | Horde Groupware Webmail Edition |
Queue Version | 5.2.0 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | software-horde (at) interfasys (dot) ch |
Created | 07/09/2014 (4024 days ago) |
Due | |
Updated | 11/09/2014 (3901 days ago) |
Assigned | 07/10/2014 (4023 days ago) |
Resolved | 07/10/2014 (4023 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
commit d866a3129f1933f7a74dd1551349288fd4c8b0f9
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Thu Jul 10 13:57:45 2014 -0400
Bug: 13336Fix removing device state when multiple accounts existon the same device.
Conflicts:
horde/admin/activesync.php
horde/admin/activesync.php | 9 +++++++--
horde/templates/activesync/device_table.html.php | 10 +++++-----
2 files changed, 12 insertions(+), 7 deletions(-)
http://github.com/horde/horde/commit/d866a3129f1933f7a74dd1551349288fd4c8b0f9
State ⇒ Resolved
commit 01b26397a1668fa25e2849f6b3b4710678544bf8
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Thu Jul 10 13:57:45 2014 -0400
Bug: 13336Fix removing device state when multiple accounts existon the same device.
horde/admin/activesync.php | 10 ++++++++--
horde/templates/activesync/device_table.html.php | 10 +++++-----
2 files changed, 13 insertions(+), 7 deletions(-)
http://github.com/horde/horde/commit/01b26397a1668fa25e2849f6b3b4710678544bf8
State ⇒ Assigned
removing was the one that existed in that array.
Look in activesyncadmin.js
$('uid').setValue(this.devices[id.substr(7)].user);
and that seems wrong as a device has several users
see there is a different entry for each device/user combination.
Look in activesyncadmin.js
$('uid').setValue(this.devices[id.substr(7)].user);
and that seems wrong as a device has several users
Look in activesyncadmin.js
has 7 accounts.
We're using Horde_ActiveSync_State_Sql
I've noticed that the button has a remove_deviceID variable, but I
couldn't find where the uid is defined.
State ⇒ Feedback
submitted. I just tested with two accounts on the same device, and
clicking remove on one entry removes the correct account's state.
You are going to have to find out why this does not work this way
locally for you.
What state driver are you using for activesync? You can start to look
in Horde_ActiveSync_State_Sql::removeState() or
Horde_ActiveSync_State_Mongo::removeState() depending on the driver in
use.
Assigned to Michael Rubinsky
State ⇒ Assigned
with Horde, that's the reason I didn't know how to name an entry
from that list.
device_id on those buttons.
horde/admin/activesync.php
addresses have nothing to do with that page. Do you mean it removed
the wrong device? If so, I cannot reproduce. I am *constantly*
removing devices from that page during testing and do not have any
issues.
Horde, that's the reason I didn't know how to name an entry from that
list.
See if you can reproduce it when removing one of the many entries (not
the last one) linked with one device.
I'm not sure if the state makes a difference. I was trying to remove
entries for accounts which wouldn't sync and we're shown as
unprovisioned.
State ⇒ Feedback
addresses have nothing to do with that page. Do you mean it removed
the wrong device? If so, I cannot reproduce. I am *constantly*
removing devices from that page during testing and do not have any
issues.
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Activesync: Clicking on remove button removes the wrong entry
Queue ⇒ Horde Groupware Webmail Edition
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
connected to the system, we're presented with 3 buttons: Wipe, remove
and Block.
Clicking on "remove", removed the wrong email address from the list