Retain unknown properties in VEVENTs / VTODOs



  • When syncing back changes, davdroid removes CATEGORIES fields that were previously set in VTODO items.

    (otherwise, the new task syncing support seems to be working very well - thanks!)



  • I guess this is because davdroid reconstructs events from database when
    syncing back. Shouldn't it preserve all fields it does not understand? I
    remember some bugreports about this few months ago.


  • developer

    Shouldn't it preserve all fields it does not understand? I remember some bugreports about this few months ago.

    Those are only related to VCard.



  • VCard, VTodo, VJournal or anything... it is all the same. When an object
    is downloaded from server the Davdroid must be able to fully reconstruct
    the object when uploading it back, modifying only those properties
    Davdroid understands.

    In time of that bugreports, there was no VTodo support, but they apply
    to all object types.


  • developer

    VCard, VTodo, VJournal or anything... it is all the same.

    It's not. VCard processing (using ez-vcard) is completely different as iCalendar processing (using ical4j). It's also worth mentioning that they are based on completely different specifications.

    When an object is downloaded from server the Davdroid must be able to fully reconstruct the object when uploading it back, modifying only those properties Davdroid understands. In time of that bugreports, there was no VTodo support, but they apply to all object types.

    Issue #118 was even named "Unknown VCard properties are lost".

    As always, high-quality pull-requests are welcome.


Log in to reply
 

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.