6.0.0-beta1
7/7/25

[#13827] Permission "AttachmentsEnabled" doesn't work with HTC One mini2
Summary Permission "AttachmentsEnabled" doesn't work with HTC One mini2
Queue Synchronization
Queue Version FRAMEWORK_5_2
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester samuel.wolf (at) wolf-maschinenbau (dot) de
Created 01/26/2015 (3815 days ago)
Due
Updated 01/26/2015 (3815 days ago)
Assigned 01/26/2015 (3815 days ago)
Resolved 01/26/2015 (3815 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/26/2015 04:41:44 PM Michael Rubinsky Comment #7
State ⇒ Resolved
Reply to this comment
Horde_ActiveSync 2.24.1
01/26/2015 04:40:56 PM Git Commit Comment #6 Reply to this comment
Changes have been made in Git (master):

commit f38ce272df382c3c9e9f396b7db6787897eee543
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Mon Jan 26 11:40:37 2015 -0500

     [mjr] Always send the attachmentsenabled policy, even when it's 
the default value of 'enabled' (Bug #13827).

  framework/ActiveSync/package.xml |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

http://github.com/horde/horde/commit/f38ce272df382c3c9e9f396b7db6787897eee543
01/26/2015 04:40:52 PM Git Commit Comment #5 Reply to this comment
Changes have been made in Git (master):

commit a2fe8df9c3e103de61becd395106aa9f100b6b94
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Mon Jan 26 11:37:33 2015 -0500

     At least one known device (HTC One mini) requires this to be sent 
even if it's default.

     Bug: 13827

  .../ActiveSync/lib/Horde/ActiveSync/Policies.php   |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

http://github.com/horde/horde/commit/a2fe8df9c3e103de61becd395106aa9f100b6b94
01/26/2015 03:56:32 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #4 Reply to this comment
Maybe that helps?
Yes working!
Thank you.
01/26/2015 03:21:37 PM Michael Rubinsky Comment #3 Reply to this comment
[Log provided directly]

We aren't even sending that policy to the device since "enabled" is 
the default value for that policy.  You can try forcing Horde to send 
it even if it's default with the following patch:

diff --git a/framework/ActiveSync/lib/Horde/ActiveSync/Policies.php 
b/framework/ActiveSync/lib/Horde/ActiveSync/Policies.php
index 01559d5..4289142 100644
--- a/framework/ActiveSync/lib/Horde/ActiveSync/Policies.php
+++ b/framework/ActiveSync/lib/Horde/ActiveSync/Policies.php
@@ -259,7 +259,7 @@ class Horde_ActiveSync_Policies
              $this->_sendPolicy(self::POLICY_COMPLEXITY, 
$policies[self::POLICY_COMPLEXITY] >= 1 ? '1' : '0', true);
          }
          $this->_sendPolicy(self::POLICY_ENCRYPTION, 
$policies[self::POLICY_ENCRYPTION], true);
-        $this->_sendPolicy(self::POLICY_ATC, 
$policies[self::POLICY_ATC], true);
+        $this->_sendPolicy(self::POLICY_ATC, 
$policies[self::POLICY_ATC], false);
          $this->_sendPolicy(self::POLICY_AEFVALUE, 
$policies[self::POLICY_AEFVALUE], true);
          $this->_sendPolicy(self::POLICY_MAXATCSIZE, 
$policies[self::POLICY_MAXATCSIZE], true);
          if ($this->_version > Horde_ActiveSync::VERSION_TWELVE) {

Maybe that helps?
01/26/2015 02:40:50 PM Michael Rubinsky Comment #2
State ⇒ Feedback
Assigned to Michael Rubinsky
Reply to this comment
Can you provide a log snippit of the PROVISION command and response?
01/26/2015 12:01:57 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Permission "AttachmentsEnabled" doesn't work with HTC One mini2
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
New Attachment: hordeEAS.zip Download
State ⇒ Unconfirmed
Reply to this comment
I add the "Attachment Download (AttachmentsEnabled)" permission for 
all authenticated users.
Unfortunately the device doesn't have the permissions.

Saved Queries