[Tickets #13827] Re: Permission "AttachmentsEnabled" doesn't work with HTC One mini2
noreply at bugs.horde.org
noreply at bugs.horde.org
Mon Jan 26 15:21:37 UTC 2015
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://bugs.horde.org/ticket/13827
------------------------------------------------------------------------------
Ticket | 13827
Updated By | Michael Rubinsky <mrubinsk at horde.org>
Summary | Permission "AttachmentsEnabled" doesn't work with HTC
| One mini2
Queue | Synchronization
Version | FRAMEWORK_5_2
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners | Michael Rubinsky
------------------------------------------------------------------------------
Michael Rubinsky <mrubinsk at horde.org> (2015-01-26 15:21) wrote:
[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?
More information about the bugs
mailing list