ActiveSync Kontakte vom Ipad/Iphone werden nicht übertragen

Deutsches Benutzerforum

ActiveSync Kontakte vom Ipad/Iphone werden nicht übertragen

Postby kobusch » Fri Oct 05, 2012 9:24 am

Hallo,

seit einiger Zeit habe ich auf dem aktuellen Stand aus dem GIT Repository das Problem, dass Kontakte vom mobilen Gerät (Iphone 3G & 4, Ipad 1 & 3) nicht mehr synchronisiert werden.
Die Daten werden korrekt übertragen, im Log steht dann die Fehlermeldung

" 2012-10-05T06:38:07+00:00 WARN (4): Syncroton_Command_Sync::ha ndle::263 failed to add entry Data is no valid property of Syncroton_Model_Email Body"



Hier noch das detaillierte Log:
Code: Select all
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 DEBUG (7): Syncroton_Server::handle::56 REQUEST METHOD: POST
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 DEBUG (7): Syncroton_Server::_handlePost::89 REQUEST Array
(
    [protocolVersion] => 14.0
    [command] => Sync
    [deviceId] => ApplDNPGYVWZDTD2
    [deviceType] => iPhone
    [policyKey] => 0
    [saveInSent] =>.
    [collectionId] =>.
    [itemId] =>.
    [attachmentName] =>.
    [userAgent] => Apple-iPhone4C1/902.206
    [contentType] => application/vnd.ms-sync.wbxml
)

3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 DEBUG (7): Syncroton_Server::_handlePost::112 xml request:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE AirSync PUBLIC "-//AIRSYNC//DTD AirSync//EN" "http://www.microsoft.com/">
<Sync xmlns="uri:AirSync" xmlns:AirSyncBase="uri:AirSyncBase" xmlns:Contacts="uri:Contacts">
  <Collections>
    <Collection>
      <SyncKey>21</SyncKey>
      <CollectionId>55</CollectionId>
      <GetChanges/>
      <WindowSize>25</WindowSize>
      <Options>
        <BodyPreference xmlns="uri:AirSyncBase">
          <Type>1</Type>
          <TruncationSize>32768</TruncationSize>
        </BodyPreference>
      </Options>
      <Commands>
        <Add>
          <ClientId>387</ClientId>
          <ApplicationData>
            <Body xmlns="uri:AirSyncBase">
              <Type>1</Type>
              <Data/>
            </Body>
            <FileAs xmlns="uri:Contacts">AA Test</FileAs>
            <FirstName xmlns="uri:Contacts">AA Test</FirstName>
            <MobilePhoneNumber xmlns="uri:Contacts">+49 111 111111</MobilePhoneNumber>
            <Picture xmlns="uri:Contacts"/>
          </ApplicationData>
        </Add>
      </Commands>
    </Collection>
  </Collections>
</Sync>
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 DEBUG (7): Syncroton_Command_Wbxml::__construct::146 sync timestamp: 2012-10-05 08:02:47
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 INFO (6): Syncroton_Command_Sync::handle::156 SyncKey is 21 Class: Contacts CollectionId: 55
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 DEBUG (7): Tinebase_Config_Abstract::_loadAllAppConfigsInCache::302 Loading all configs for app Addressbook
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Model_Filter_FilterGroup::createFilter::502 Creating filter: Tinebase_Model_Filter_Id with data: Array
(
    [field] => application_id
    [operator] => equals
    [value] => 897c0c94560b2082c2089594695b8f9cb853a576
    [options] => Array
        (
        )

)

3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Model_Filter_Abstract::_setOptions::128  Array
(
)

3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Model_Filter_FilterGroup::getRequiredColumnsForSelect::793 Array
(
)

3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Backend_Sql_Abstract::_getSelect::669 Array
(
    [id] => config.id
)

3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Model_Filter_Abstract::_getQuotedFieldName::287 Using tablename: config
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Backend_Sql_Abstract::_fetch::627 SELECT `config`.`id` FROM `********_config` AS `config` WHERE ((`config`.`application_id` = '897c0c94560b2082
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Backend_Sql_Abstract::search::459 Fetched 1 ids.
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Backend_Sql_Abstract::_getSelect::669 *
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Backend_Sql_Abstract::_fetch::627 SELECT `config`.* FROM `********_config` AS `config` WHERE (`config`.`id` in ('6705fcf86c8ee6b96e9abaa14efad5
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 DEBUG (7): Tinebase_Config_Abstract::_loadAllAppConfigsInCache::309 Found 1 configs.
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Config_Abstract::_loadAllAppConfigsInCache::310 Array
(
    [0] => Array
        (
            [id] => 6705fcf86c8ee6b96e9abaa14efad512a65a5bc7
            [application_id] => 897c0c94560b2082c2089594695b8f9cb853a576
            [name] => contactSalutation
            [value] => {"name":"contactSalutation","records":[{"id":"MR","value":"Mr","gender":"male","image":"images\/empty_photo_male.png","system":true},{"id":"MS","value":"Ms","gender":"female","image":"
        )

)

3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Model_Filter_FilterGroup::createFilter::502 Creating filter: Tinebase_Model_Filter_Id with data: Array
(
    [field] => application_id
    [operator] => equals
    [value] => c7ba98040bc116c4bba4943ddf9fdcbdb2b33a78
    [options] => Array
        (
        )

)

3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Model_Filter_Abstract::_setOptions::128  Array
(
)

3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Model_Filter_FilterGroup::createFilter::502 Creating filter: Tinebase_Model_Filter_Text with data: Array
(
    [field] => name
    [operator] => equals
    [value] => mapPanel
    [options] => Array
        (
        )

)

3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Model_Filter_Abstract::_setOptions::128  Array
(
)

3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Model_Filter_FilterGroup::getRequiredColumnsForSelect::793 Array
(
)

3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Backend_Sql_Abstract::_getSelect::669 Array
(
    [id] => config.id
)

3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Model_Filter_Abstract::_getQuotedFieldName::287 Using tablename: config
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Model_Filter_Abstract::_getQuotedFieldName::287 Using tablename: config
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Backend_Sql_Abstract::_fetch::627 SELECT `config`.`id` FROM `********_config` AS `config` WHERE ((`config`.`application_id` = 'c7ba98040bc116c4
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 TRACE (8): Tinebase_Backend_Sql_Abstract::search::459 Fetched 0 ids.
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 DEBUG (7): Tinebase_Config::getConfig::656 Overwriting config setting "mapPanel" with value from config.inc.php.
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 INFO (6): Syncroton_Command_Sync::handle::236 found 1 entries to be added to server
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 DEBUG (7): Syncroton_Command_Sync::handle::240 add entry with clientId 387
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 INFO (6): Syncroton_Command_Sync::handle::244 adding entry as new
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 DEBUG (7): ActiveSync_Controller_Abstract::createEntry::229 create entry
3a3ba maxmustermann - 2012-10-05T08:02:47+00:00 WARN (4): Syncroton_Command_Sync::handle::263 failed to add entry Data is no valid property of Syncroton_Model_EmailBody




Komischerweise ist auf einer zweiten Installation mit dem gleichen Softwarestand alles in Ordnung. Habt Ihr eine Idee, wo ich schauen kann?

Grüße

Christoph
kobusch
 
Posts: 19
Joined: Mon Nov 22, 2010 10:46 am

Re: ActiveSync Kontakte vom Ipad/Iphone werden nicht übertra

Postby kobusch » Tue Oct 09, 2012 3:51 pm

Hallo,

ich glaube ich habe den Fehler gefunden:

In der Datei
/tine20/ActiveSync/Controller/Contacts.php
in Zeile 276
$contact->$value = $data->$fieldName->Data;

wird ein Feld Data abgefragt. Dieses sollte, wenn ich es richtig verstanden habe kleingeschrieben data heißen.

Nach ändern der Zeile in
$contact->$value = $data->$fieldName->data;

funktioniert alles.

Könnt Ihr das mal prüfen, und ggf. im GIT anpassen?
kobusch
 
Posts: 19
Joined: Mon Nov 22, 2010 10:46 am

Re: ActiveSync Kontakte vom Ipad/Iphone werden nicht übertra

Postby Olodin » Wed Oct 10, 2012 9:25 pm

Ich hab das gleiche Problem mit einem Windows Phone 7.5 und aktuellem GIT, hab diesen Thread im Tracker verlinkt:
https://forge.tine20.org/mantisbt/view.php?id=7158
Regards
-Olodin
Olodin
Tine 2.0 Community Contributor
 
Posts: 84
Joined: Wed Jun 24, 2009 7:43 am

Re: ActiveSync Kontakte vom Ipad/Iphone werden nicht übertra

Postby ph_il » Thu Oct 11, 2012 12:18 pm

leider ist lars jetzt im urlaub, er wird das aber anschliessend lösen.
Philipp Schüle
Tine 2.0 Core Developer

Visit http://www.tine20.com (commercial support, consulting and development)
Visit http://www.officespot20.com (Tine 2.0 hosting)
User avatar
ph_il
Tine 2.0 Core Developer
 
Posts: 3449
Joined: Fri Mar 07, 2008 11:41 am

Re: ActiveSync Kontakte vom Ipad/Iphone werden nicht übertra

Postby AndyDLD » Sat Nov 10, 2012 4:16 pm

Wir haben das Problem mit einem HTC Incredible S und Joey (2012.10.1).
Die Lösung von kobusch hat geholfen.
AndyDLD
 
Posts: 55
Joined: Sun Jun 28, 2009 11:30 am
Location: Germany

Re: ActiveSync Kontakte vom Ipad/Iphone werden nicht übertra

Postby Mr Smile » Sun Nov 11, 2012 5:06 am

Hatte das Problem auch mit allen mobilen Endgeräten. (WebOS, iOS, Android)
Auch hier hat die Lösung von kobusch geholfen.
Tine-Version ist die 2012.10.1

Hat sich seit dem vorletzten Posting irgendwas getan? Ohne diese Änderung ist der Kontakte-Sync in der aktuellen Tine faktisch tot.

Leute, der Kontakte-Sync ist für viele potentielle User ein Killer-Feature und damit ist dies hier ein kritischer Bug, den man zügig beseitigen sollte! :!:

;)
Mr Smile
 
Posts: 7
Joined: Sun Nov 11, 2012 3:48 am

Re: ActiveSync Kontakte vom Ipad/Iphone werden nicht übertra

Postby ph_il » Fri Nov 16, 2012 12:31 pm

ich denke, dass wir das noch bis zum service release in der nächsten woche lösen.
Philipp Schüle
Tine 2.0 Core Developer

Visit http://www.tine20.com (commercial support, consulting and development)
Visit http://www.officespot20.com (Tine 2.0 hosting)
User avatar
ph_il
Tine 2.0 Core Developer
 
Posts: 3449
Joined: Fri Mar 07, 2008 11:41 am

Re: ActiveSync Kontakte vom Ipad/Iphone werden nicht übertra

Postby Mr Smile » Mon Nov 19, 2012 5:07 am

schön ... :)
Mr Smile
 
Posts: 7
Joined: Sun Nov 11, 2012 3:48 am

Re: ActiveSync Kontakte vom Ipad/Iphone werden nicht übertra

Postby lkneschke » Tue Nov 20, 2012 5:31 pm

Die Fixes sind jetzt alle im GIT und damit auch im nächsten Service Release.

Danke für Euer Feedback!
Lars Kneschke
Head of Tine 2.0

Visit tine20.com for commercial support / consulting / development.
Visit tine20.net for Tine 2.0 hosting.
User avatar
lkneschke
Tine 2.0 Core Developer
 
Posts: 973
Joined: Tue Nov 06, 2007 7:31 pm
Location: Hamburg, Germany


Return to Deutsch [German]

Who is online

Users browsing this forum: Exabot [Bot] and 20 guests

Startseite
NewsDemoDownloadForumWikiBlog
Support
Support at first hand!
If the forum does not help anymore ... Professional support is available directly from our Tine2.0 core Developers.

more »