New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0010329: wrong backend for mail folders created via activesync (outlook2013 + 2016) #5150

Open
Gloirin opened this Issue Jun 9, 2018 · 6 comments

Comments

Projects
None yet
1 participant
@Gloirin

Gloirin commented Jun 9, 2018

Reported by Firewire2002 on 6 Oct 2014 17:30

Version: Koriander (2014.09.1)

Mail folders that are created via ActiveSync will be deleted in the client after the client refreshes the folder list.
Reason seems to be a wrong decision for the backend. The debug log shows that the folder is created in sql backend:

dda3d myuser - 2014-10-05T11:00:25+00:00 DEBUG (7): Syncroton_Server::_handlePost::126 xml request:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE AirSync PUBLIC "-//AIRSYNC//DTD AirSync//EN" "">
<FolderCreate xmlns="uri:FolderHierarchy">
<SyncKey>30</SyncKey>
<ParentId>3af5fd6f3c357a8afd549e76e68eb509612ef55e</ParentId>
<DisplayName>blubb456</DisplayName>
<Type>12</Type>
</FolderCreate>

dda3d myuser - 2014-10-05T11:00:25+00:00 DEBUG (7): Syncroton_C0mmand_Wbxml::__construct::163 sync timestamp: 2014-10-05 11:00:25
dda3d myuser - 2014-10-05T11:00:25+00:00 DEBUG (7): Syncroton_C0mmand_FolderCreate::handle::40 synckey is 30
dda3d myuser - 2014-10-05T11:00:25+00:00 DEBUG (7): Syncroton_C0mmand_FolderCreate::handle::49 parentId: 3af5fd6f3c357a8afd549e76e68eb509612ef55e displayName: blubb456


dda3d myuser - 2014-10-05T11:00:25+00:00 TRACE (8): Tinebase_Backend_Sql_Abstract::create::914 Prepared data for INSERT: Array
(
[name] => blubb456
[type] => personal
[backend] => Sql
[application_id] => 88ac01f58622c5c669176b638b0148d3d47813ba
[model] => Felamimail_Model_Message
[created_by] => d3c764d16e2fe9482dc7cb31cac79c769e601658
[creation_time] => 2014-10-05 11:00:25

But folder is not created on the IMAP server.
If the client request the folder list via ActiveSync than the server is looking on the IMAP server and update it's own database. So the new (in DB created) folder will be removed in the DB and also removed from client.

If the user create the folder via Tine20 Webinterface all works fine. The folder will be created directly on the IMAP server.

Steps to reproduce: Settings:

  • Konfiguration - Caching: disabled
  • Konfiguration - Queue: disabled
  • Authentifizierung - Authentication Backend: SQL
  • Authentifizierung - User Accounts: Sql
  • Email - IMAP Backend: Standard IMAP

Steps in Tine20:

  • Create Account
  • Login into the new account
  • add a IMAP mailbox

Steps in Outlook2013

  • Add the new Tine20 account with ActiveSync protocol
  • Create a new mail folder
  • Click on "Send and Receive" or do some other actions that will reload the folder list

Additional information: look at https://www.tine20.org/forum/viewtopic.php?f=12&amp;t=16665 :)

@Gloirin

This comment has been minimized.

Show comment
Hide comment
@Gloirin

Gloirin Jun 11, 2018

Comment posted by pschuele on 21 Oct 2014 08:52

hi Firewire,
thanks for the detailled bugreport. we'll have a look at this very soon.

Gloirin commented Jun 11, 2018

Comment posted by pschuele on 21 Oct 2014 08:52

hi Firewire,
thanks for the detailled bugreport. we'll have a look at this very soon.

@Gloirin

This comment has been minimized.

Show comment
Hide comment
@Gloirin

Gloirin Jun 11, 2018

Comment posted by freddyattine20 on 21 Aug 2016 02:58

Hi @ALL,

i can confirm this issue with this Tine 2.0 Version: Egon Community Edition (2016.03.5)

Folder I've created in Outlook are deleted immediately. When I create the folder via the web interface, it works without error.

Gloirin commented Jun 11, 2018

Comment posted by freddyattine20 on 21 Aug 2016 02:58

Hi @ALL,

i can confirm this issue with this Tine 2.0 Version: Egon Community Edition (2016.03.5)

Folder I've created in Outlook are deleted immediately. When I create the folder via the web interface, it works without error.

@Gloirin

This comment has been minimized.

Show comment
Hide comment
@Gloirin

Gloirin Jun 11, 2018

Comment posted by ncohrt on 26 Nov 2017 18:06

Hi,

same issue here with current version 2017.08.8.

If a folder is created within Outlook 2016, it disappears immediately after sync.

Please fix it. Thanks!

Gloirin commented Jun 11, 2018

Comment posted by ncohrt on 26 Nov 2017 18:06

Hi,

same issue here with current version 2017.08.8.

If a folder is created within Outlook 2016, it disappears immediately after sync.

Please fix it. Thanks!

@Gloirin

This comment has been minimized.

Show comment
Hide comment
@Gloirin

Gloirin Jun 11, 2018

Comment posted by pschuele on 11 Jan 2018 14:04

could someone with this problem send me (p.schueleATmetaways.de) the complete tine20.log (DEBUG/7 loglevel) of the activesync request that contains the folder creation?

are there any errors in the logs?

Gloirin commented Jun 11, 2018

Comment posted by pschuele on 11 Jan 2018 14:04

could someone with this problem send me (p.schueleATmetaways.de) the complete tine20.log (DEBUG/7 loglevel) of the activesync request that contains the folder creation?

are there any errors in the logs?

@Gloirin

This comment has been minimized.

Show comment
Hide comment
@Gloirin

Gloirin Jun 11, 2018

Comment posted by AdrianSt on 3 May 2018 08:14

Hello pschuele,

I sent you a level 7 log with a folder created in Outlook 2016 by mail.

Gloirin commented Jun 11, 2018

Comment posted by AdrianSt on 3 May 2018 08:14

Hello pschuele,

I sent you a level 7 log with a folder created in Outlook 2016 by mail.

@Gloirin

This comment has been minimized.

Show comment
Hide comment
@Gloirin

Gloirin Jun 11, 2018

Comment posted by pschuele on 1 Jun 2018 08:07

hi,
thanks for the logs!
i just checked: tine20 does not support folder creation via activesync yet. ios and android do not have an ui for this. i would categorize this as a feature request.

Gloirin commented Jun 11, 2018

Comment posted by pschuele on 1 Jun 2018 08:07

hi,
thanks for the logs!
i just checked: tine20 does not support folder creation via activesync yet. ios and android do not have an ui for this. i would categorize this as a feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment