Ticket #530 (closed defect: duplicate)

Opened 7 years ago

Last modified 6 years ago

vconvert ignores alarms in events

Reported by: qratz Owned by: cstender
Priority: normal Milestone: Plugin Format: vformat 0.40
Component: Format Plugin: vformat Version: 0.32
Severity: normal Keywords:
Cc:

Description

I recently tested the synchroization between moto-sync and file-sync. While contacts work flawlessly, the handling of events has some problems. Events with alarms that are set on the phone, loose the alarm data in the resulting file on the file system. The error does not seem to lie within moto-sync or file-sync, rather than in the conversion from xmlformat to vevent20. For example, I created an xmlformat event:

<?xml version="1.0"?>
<event>
  <Alarm>
    <AlarmAction>DISPLAY</AlarmAction>
    <AlarmDescription>Flight</AlarmDescription>
    <AlarmTrigger>20070807T165000Z</AlarmTrigger>
  </Alarm>
  <Categories>
    <Category>Vacation</Category>
  </Categories>
  <DateEnd>
    <Content>20070807T202000Z</Content>
  </DateEnd>
  <DateStarted>
    <Content>20070807T172000Z</Content>
  </DateStarted>
  <Location>
    <Content>Frankfurt</Content>
  </Location>
  <Summary>
    <Content>Flight</Content>
  </Summary>
  <Summary>
    <Content>to Sofia</Content>
  </Summary>
</event> 

The event above, was simply copy and pasted from of the traces i used for testing, which means, that the event form the phone is read and interpreted correctly. Then i ran vconvert on the xml file and the result was:

BEGIN:VCALENDAR
PRODID:-//OpenSync//NONSGML OpenSync vformat 0.3//EN
VERSION:2.0
BEGIN:VEVENT
CATEGORIES:Vacation
DTEND:20070807T202000Z
DTSTART:20070807T172000Z
LOCATION:Frankfurt
SUMMARY:Flight
SUMMARY:to Sofia
END:VEVENT

As you see, the alarm part seems to be ignored. My test environment is:

ii  libopensync-plugin-file           0.32+svn20070802-etch1
ii  libopensync-plugin-kdepim         0.32+svn20070802-etch1
ii  libopensync-plugin-moto           0.32+svn20070731-etch1
ii  libopensync-plugin-python         0.32+svn20070802-etch1
ii  libopensync1                      0.32+svn20070802-etch1
ii  libopensync1-dbg                  0.32+svn20070802-etch1
ii  python-opensync                   0.32+svn20070802-etch1
ii  libvformat0                       0.32+svn20070803-etch1
ii  vformat-utils                     0.32+svn20070803-etch1

As you see i'm running Debian etch and the opensync packages are the latest from jahn's repository. Just for clarification my file-sync configuration:

<?xml version="1.0"?>
<config>
<directory>
 <path>/home/test/contact</path>
 <objtype>contact</objtype>
 <objformat>vcard30</objformat>
</directory>
<directory>
 <path>/home/test/event</path>
 <objtype>event</objtype>
 <objformat>vevent20</objformat>
</directory>
</config>

Change History

comment:1 Changed 7 years ago by cstender

  • Owner changed from abauer to cstender

Alarm and recurrence support is still not complete in vformat. I try to get it working next week.

comment:2 Changed 7 years ago by cstender

  • Status changed from new to assigned

comment:3 Changed 7 years ago by cstender

  • Version changed from 0.31 to 0.32
  • Component changed from OpenSync to Plugin: vformat
  • Milestone set to OpenSync 0.40

comment:4 Changed 6 years ago by cstender

  • Status changed from assigned to closed
  • Resolution set to duplicate
Note: See TracTickets for help on using tickets.