Bug 127436 - when using ox calendar resources, events are doubled for add-actions
Summary: when using ox calendar resources, events are doubled for add-actions
Status: CONFIRMED
Alias: None
Product: kresources
Classification: Miscellaneous
Component: exchange (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-16 12:20 UTC by Ulrich Gemkow
Modified: 2009-05-18 23:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Gemkow 2006-05-16 12:21:20 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    Compiled From Sources
Compiler:          gcc 3.4 Fedora Core 3
OS:                Linux

Hello,

we are using korganizer with an open xchange calendar/event resource. When adding
appointments in korganizer a dialog box is displayed which asks for confirmation
of sending the action to the ox server.

First, this dialog box is always displayed two times with the same content
(two times the add event). This seems to be the cause of the second...

Second, sometimes the event is then shown doubled in korganizers calendar view
(two events at the same time with the same name). Sometimes a crash follows.
When scrolling through korganizers calendar to a different week and then
scrolling back, the doubled event did not show again.

The ox server appearently receives only one add event.

Please let me know when we can be of any help to solve these problems

Thank you and greetings

Ulrich Gemkow
Comment 1 Reinhold Kainhofer 2006-11-02 18:54:56 UTC
Reassigning all KOrganizer bug reports and wishes to the newly created 
korganizer-devel mailing list.
Comment 2 Ralph Moenchmeyer 2007-01-19 13:29:42 UTC
Hello, 
I have the same problem with KDE 3.5.5 on SuSE 10.1 (64Bit). You get the dialog box for saving the appointment twice. After saving the appointment you see two entries in Korganizer. When looking at the OX server you see just one entry. After the next synchronization with the OX server everything is OK again.
The connection to the OX resource is setup via webdav like this:
http://oxs2/servlet/webdav.ical 
 
Ralph Mönchmeyer
Comment 3 Ralph Moenchmeyer 2007-01-19 14:37:23 UTC
Hello, 
after some more testing I find that this bug happens always within KOrganizer as a standalone application. 
However, it sometimes disappears when I open Kontact and use the calendar within contact. But even within one longer Kontact session the generating of appointments sometimes works as expected and sometimes not (double entry). I could not figure out what the reason for this strange behaviour is. I tried to really consistently handle the dialog boxes. But sometimes I get the double confirmation box and sometimes the appointment is set in the calendar and afterwards just one dialog box says that the saving on OX server is done.    
Ralph Mönchmeyer
Comment 4 Ralph Moenchmeyer 2007-01-19 15:14:00 UTC
Hello, 
I want to remark that this error only occurs if you set up the Korganizer - OX interaction within Kontact such that it should automatically save directly after every change you make. If you instead choose a setup with a delayed saving after a change the system works as expected and only one entry for every generated is displayed.  
Comment 5 Ralph Moenchmeyer 2007-01-19 15:29:27 UTC
Also KOrganizer as a standalone application works without this bug when it is set up such that automatic saving is done delayed after a new appointment has been entered. The display of appointments is updated at once and correctly with just one entry per generated appointment. After some seconds the dialog appears where you confirm the submission of the changes to the OX server. 
So there definitely seems to be a problem with the parallel handling of the screen and information update on the client and the submission to the OX server together with the confirmation dialog window of the OX transaction.