6.0.0-beta1
7/8/25

[#12727] Autodiscover broken, undefined index
Summary Autodiscover broken, undefined index
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester leena.heino (at) uta (dot) fi
Created 10/01/2013 (4298 days ago)
Due
Updated 10/22/2013 (4277 days ago)
Assigned 10/01/2013 (4298 days ago)
Resolved 10/02/2013 (4297 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/22/2013 02:16:52 PM Git Commit Comment #6 Reply to this comment
Changes have been made in Git (master):

commit ee85cd83598d1f934cf42e456da66ed4197f457e
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Tue Oct 1 18:58:03 2013 -0400

     $this->_decoder->getStream() returns a Horde_Stream, not resource.

     Bug: 12727

  .../lib/Horde/ActiveSync/Request/Autodiscover.php  |    6 ++++--
  .../ActiveSync/lib/Horde/ActiveSync/Wbxml.php      |    4 ++--
  2 files changed, 6 insertions(+), 4 deletions(-)

http://git.horde.org/horde-git/-/commit/ee85cd83598d1f934cf42e456da66ed4197f457e
10/02/2013 04:57:25 PM Michael Rubinsky State ⇒ Resolved
 
10/01/2013 10:01:55 PM Git Commit Comment #5 Reply to this comment
Changes have been made in Git (master):

commit 83a567de515f7a7a71e28e4dd48ef0943a88e44f
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Tue Oct 1 18:01:09 2013 -0400

     Avoid undefined index errors for Autodiscover requests.

     Reported in Bug: 12727

  framework/Rpc/lib/Horde/Rpc/ActiveSync.php |    4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/83a567de515f7a7a71e28e4dd48ef0943a88e44f
10/01/2013 09:59:31 PM Michael Rubinsky Comment #4 Reply to this comment
With Outlook 2013 the correct error line is:
PHP ERROR: Undefined index: Cmd [pid 23539 on line 134 of 
"/var/www/horde/framework/Rpc/lib/Horde/Rpc/ActiveSync.php"]
This is a harmless existence error that only affects a log entry.
10/01/2013 02:26:43 PM Michael Rubinsky Comment #3
State ⇒ Assigned
Assigned to Michael Rubinsky
Reply to this comment
Related, but not quite a duplicate of Bug: 12723.
10/01/2013 02:26:30 PM leena (dot) heino (at) uta (dot) fi Comment #2 Reply to this comment

[Show Quoted Text - 11 lines]
Wrong error log. Previous errors was from trying to access 
autoconfigure with browser.

With Outlook 2013 the correct error line is:
PHP ERROR: Undefined index: Cmd [pid 23539 on line 134 of 
"/var/www/horde/framework/Rpc/lib/Horde/Rpc/ActiveSync.php"]
10/01/2013 02:17:40 PM leena (dot) heino (at) uta (dot) fi Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Autodiscover broken, undefined index
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
If I try to use autoconfigure to configure Outlook 2013 then the 
authentication seems to fail and logs are filled with errors like:

HORDE: [horde] PHP ERROR: Undefined index: Cmd [pid 15335 on line 97 
of "/var/www/horde/framework/Rpc/lib/Horde/Rpc/ActiveSync.php"]

HORDE: [horde] PHP ERROR: stream_get_contents() expects parameter 1 to 
be resource, object given [pid 15335 on line 37 of 
/var/www/hordenx/framework/ActiveSync/lib/Horde/ActiveSync/Request/Autodiscover.php"]


Saved Queries