View Issue Details

IDProjectCategoryView StatusLast Update
0013836Tine 2.0ActiveSyncpublic2018-05-03 15:39
ReporterpsiegAssigned Topschuele 
Status resolvedResolutionfixed 
Product Version2018.02.3 Community Edition 
Target Version2018.02.4 Community EditionFixed in Version2018.02.4 Community Edition 
Summary0013836: ActiveSync folder type not working for custom Trash folder
DescriptionI am running a setup where the Trash and Sent folders have custom names ('Gelöschte Elemente' from Outlook in German). Felamimail supports these, but reports them incorrectly via ActiveSync because the corresponding check is below the switch (strtoupper($folder->localname)). This effectively allows only custom folders at different locations, say INBOX.something.Trash.
Steps To Reproduce- Setup an account with an E-Mail Account
- Specify a custom Trash folder, such as 'Deleted Items'
- Ensure there is no folder named trash
- Create a corresponding account on your mobile device and log the XML traffic for the FolderHierarchy request:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE AirSync PUBLIC "-//AIRSYNC//DTD AirSync//EN" "">
<FolderSync xmlns="uri:FolderHierarchy">

Actual Response:
<!DOCTYPE AirSync PUBLIC "-//AIRSYNC//DTD AirSync//EN" "">
<FolderSync xmlns="uri:FolderHierarchy" xmlns:Syncroton="uri:Syncroton" xmlns:Internal="uri:Internal">
      <DisplayName>User Name's personal calendar</DisplayName>
      <DisplayName>User Name's personal addressbook</DisplayName>
      <DisplayName>Deleted Items</DisplayName>

The folder 'Deleted Items' should have Type 4, and there should not be a fake-4 'Trash' folder.

I identified the cause and proposed a fix in
Additional InformationThe E-Mail account is setup with INBOX. personal prefix, i.e. the Trash folder name is 'INBOX.Deleted Items'
Tagsactivesync, felamimail




2018-05-03 15:39

administrator   ~0021724

pull request has been merged. thanks!

Issue History

Date Modified Username Field Change
2018-04-23 17:19 psieg New Issue
2018-04-23 17:19 psieg Tag Attached: activesync
2018-04-23 17:19 psieg Tag Attached: felamimail
2018-05-03 15:39 pschuele Target Version => 2018.02.4 Community Edition
2018-05-03 15:39 pschuele Assigned To => pschuele
2018-05-03 15:39 pschuele Status new => resolved
2018-05-03 15:39 pschuele Resolution open => fixed
2018-05-03 15:39 pschuele Fixed in Version => 2018.02.4 Community Edition
2018-05-03 15:39 pschuele Note Added: 0021724