[OGo-Bugs][Bug 1992] New: Organizer & User Duplication On Update

bugs@opengroupware.org bugs@opengroupware.org
Sat, 5 Jul 2008 21:32:37 +0200 (CEST)


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1992

           Summary: Organizer & User Duplication On Update
           Product: ZideStore
           Version: TRUNK
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: normal
         Component: Mozilla-Calendar
        AssignedTo: helge.hess@opengroupware.org
        ReportedBy: awilliam@whitemice.org
                CC: bugs@opengroupware.org


>From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0) Gecko/2008061600
SUSE/3.0-0.1 Firefox/3.0

Description of problem:
When an appointment is created organizer & user (participant) are singular.  But
as soon as an appointment is updated the user participant record is duplicated
as is the organizer record.

Version-Release number of selected component (if applicable):
TRUNK

How reproducible:
Always

Steps to Reproduce:
1. Create an appointment, save it
2. Update the appointment

    

Actual Results:  Organizer and attendee record for user are duplicated.

Expected Results:  participant and organizer records would be unique.

Additional info:

Appointment after creation:

BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VEVENT
LOCATION:fhjfjhf
STATUS:CONFIRMED
SUMMARY:hfh
DESCRIPTION:hfjhf\njjfj
DTSTART:20080704T160000Z
DTEND:20080704T170000Z
TRANSP:OPAQUE
UID:skyrix://linux-nnci.site/linux-nnci/11537
CREATED:20030710T120000Z
DTSTAMP:20080705T192431Z
X-MICROSOFT-CDO-IMPORTANCE:0
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-INSTTYPE:0
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
ATTENDEE;CUTYPE="INDIVIDUAL";PARTSTAT="NEEDS-ACTION";ROLE="REQ-PARTICIPANT";RSVP="FALSE";CN="Adam
Williams":MAILTO:adam@localhost
ORGANIZER;CN="Adam Williams":MAILTO:adam@localhost
END:VEVENT
END:VCALENDAR

Appointment after update:

BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VEVENT
LOCATION:fhjfjhf
STATUS:CONFIRMED
SUMMARY:hfh
DESCRIPTION:hfjhf\njjfj
DTSTART:20080704T160000Z
DTEND:20080704T170000Z
TRANSP:OPAQUE
UID:skyrix://linux-nnci.site/linux-nnci/11537
CREATED:20030710T120000Z
LAST-MODIFIED:20080705T192457Z
DTSTAMP:20080705T192457Z
X-MICROSOFT-CDO-IMPORTANCE:0
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-INSTTYPE:0
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
ATTENDEE;CUTYPE="INDIVIDUAL";PARTSTAT="NEEDS-ACTION";ROLE="REQ-PARTICIPANT";RSVP="FALSE";CN="Adam
Williams":MAILTO:adam@localhost
ORGANIZER;CN="Adam Williams":MAILTO:adam@localhost
ATTENDEE;CUTYPE="INDIVIDUAL";PARTSTAT="NEEDS-ACTION";ROLE="REQ-PARTICIPANT";RSVP="FALSE";CN="Adam
Williams":MAILTO:adam@localhost
ORGANIZER;CN="Adam Williams":MAILTO:adam@localhost
END:VEVENT
END:VCALENDAR

Records only seem to double, they don't triple or multiply further.

Duplication propgates to date_company_assignment like -
OGo=> select company_id, date_id, is_staff, partstatus, role, rsvp, db_status
from date_company_assignment where date_id = 11537;
 company_id | date_id | is_staff |  partstatus  |      role       | rsvp |
db_status 
------------+---------+----------+--------------+-----------------+------+-----------
      10102 |   11537 |        0 |              |                 |      | inserted
      10102 |   11537 |        1 | NEEDS-ACTION | REQ-PARTICIPANT |    0 | updated
      10401 |   11537 |        0 |              |                 |      | inserted

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.