6.0.0-beta1
7/8/25

[#13687] ActiveSync Device-ID-decoding for '9folders' leads to error-message
Summary ActiveSync Device-ID-decoding for '9folders' leads to error-message
Queue Horde Framework Packages
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester piper (at) hrz (dot) uni-marburg (dot) de
Created 11/10/2014 (3893 days ago)
Due 11/12/2014 (3891 days ago)
Updated 11/12/2014 (3891 days ago)
Assigned 11/10/2014 (3893 days ago)
Resolved 11/12/2014 (3891 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/12/2014 06:16:39 PM Michael Rubinsky State ⇒ Resolved
 
11/12/2014 06:16:08 PM Git Commit Comment #5 Reply to this comment
Changes have been made in Git (master):

commit 1dd580483ee74e84c99bec3a3b77e7562084fe05
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Wed Nov 12 13:15:12 2014 -0500

     Bug: 13687  Avoid harmless PHP warning.

  .../ActiveSync/lib/Horde/ActiveSync/Device.php     |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)

http://github.com/horde/horde/commit/1dd580483ee74e84c99bec3a3b77e7562084fe05
11/11/2014 12:09:27 PM piper (at) hrz (dot) uni-marburg (dot) de Comment #4 Reply to this comment
I see what's happening. The error is due to trying to decode a 
device id that id NOT Nine's, and pack is complaining because the 
characters are not valid hex.
That's exactly what I do. I connect to horde-5.2.2 via ActiveSync with 
tool 'aCalendar' on an android smartphone which has an id of 
'androidc96...'. This produces the error messages.


11/10/2014 03:07:13 PM Michael Rubinsky Comment #3
State ⇒ Assigned
Reply to this comment
I see what's happening. The error is due to trying to decode a device 
id that id NOT Nine's, and pack is complaining because the characters 
are not valid hex.
11/10/2014 03:02:33 PM Michael Rubinsky State ⇒ Feedback
 
11/10/2014 03:02:21 PM Michael Rubinsky Comment #2
Assigned to Michael Rubinsky
State ⇒ Resolved
Reply to this comment
Are you sure this is from Nine? According to their developers the 
device id is a hex encoded string, which contains, IIRC "nine" or "9" 
as the beginning of the decoded string.

If this truly is Nine, what version are you using?

FWIW, I don't see this on the most recent version.
11/10/2014 02:45:40 PM piper (at) hrz (dot) uni-marburg (dot) de Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Due ⇒ 11/12/2014
Summary ⇒ ActiveSync Device-ID-decoding for '9folders' leads to error-message
Type ⇒ Bug
Reply to this comment
Hello,

on my horde test-setup with the newest horde-edition (horde-5.2.2, 
imp-6.2.3, turba-4.2.3, kronolith-4.2.3, nag-4.2.2, mnemo-4.2.2, 
ingo-3.2.2) I get the following error messages in the horde-log-file, 
when initiating an ActiveSync-connection with my mobile device:

2014-11-10T14:58:04+01:00 WARN: HORDE-5.2.2 PHP ERROR: pack(): Type H: 
illegal hex digit N [pid 10200 on line 649 of 
"/var/www/horde-5.2.2/pear/php/Horde/ActiveSync/Device.php"]
2014-11-10T14:58:04+01:00 WARN: HORDE-5.2.2 PHP ERROR: pack(): Type H: 
illegal hex digit R [pid 10200 on line 649 of 
"/var/www/horde-5.2.2/pear/php/Horde/ActiveSync/Device.php"]
2014-11-10T14:58:04+01:00 WARN: HORDE-5.2.2 PHP ERROR: pack(): Type H: 
illegal hex digit O [pid 10200 on line 649 of 
"/var/www/horde-5.2.2/pear/php/Horde/ActiveSync/Device.php"]
2014-11-10T14:58:04+01:00 WARN: HORDE-5.2.2 PHP ERROR: pack(): Type H: 
illegal hex digit I [pid 10200 on line 649 of 
"/var/www/horde-5.2.2/pear/php/Horde/ActiveSync/Device.php"]

Line 649 of Device.php handles the decoding for identifying the 
'9folders'-client. The code seems to have problems with my device-id, 
which starts with the string 'android' (and which contains the named 
non-hex-characters 'n', 'r', 'o' and 'i'').

Thanks for correcting this,
Andreas

Saved Queries