[Akonadi] [Bug 338570] Akonadi Dav Resource: Missing Conflict Resolution

2015-08-19 Thread Grégory Oestreicher
https://bugs.kde.org/show_bug.cgi?id=338570

Grégory Oestreicher g...@kamago.net changed:

   What|Removed |Added

 CC||k...@enteig.net

--- Comment #7 from Grégory Oestreicher g...@kamago.net ---
*** Bug 341333 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 338570] Akonadi Dav Resource: Missing Conflict Resolution

2015-06-25 Thread Grégory Oestreicher
https://bugs.kde.org/show_bug.cgi?id=338570

Grégory Oestreicher g...@kamago.net changed:

   What|Removed |Added

 CC||aq...@aqeeliz.com

--- Comment #6 from Grégory Oestreicher g...@kamago.net ---
*** Bug 343152 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 338570] Akonadi Dav Resource: Missing Conflict Resolution

2015-06-18 Thread Grégory Oestreicher
https://bugs.kde.org/show_bug.cgi?id=338570

Grégory Oestreicher g...@kamago.net changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
  Latest Commit||http://commits.kde.org/kdep
   ||im-runtime/44d38d363d6ff7b4
   ||f8c892becfb58a0339dbef0e
   Version Fixed In||4.14.10
 Resolution|--- |FIXED

--- Comment #5 from Grégory Oestreicher g...@kamago.net ---
Git commit 44d38d363d6ff7b4f8c892becfb58a0339dbef0e by Grégory Oestreicher.
Committed on 18/06/2015 at 20:59.
Pushed by goestreicher into branch 'KDE/4.14'.

Add simple conflict handling

The conflict dialog will only be shown for local update / remote update
conflicts. For cases where one side deleted the item while it was updated
on the other, the deleting side loses the conflict automatically to prevent
data loss.
Related: bug 335090
FIXED-IN: 4.14.10

M  +30   -0resources/dav/common/davitemdeletejob.cpp
M  +13   -0resources/dav/common/davitemdeletejob.h
M  +5-4resources/dav/common/davitemfetchjob.cpp
M  +2-3resources/dav/common/davitemfetchjob.h
M  +32   -2resources/dav/common/davitemmodifyjob.cpp
M  +13   -0resources/dav/common/davitemmodifyjob.h
M  +5-0resources/dav/common/davjobbase.cpp
M  +5-0resources/dav/common/davjobbase.h
M  +168  -8resources/dav/resource/davgroupwareresource.cpp
M  +8-0resources/dav/resource/davgroupwareresource.h

http://commits.kde.org/kdepim-runtime/44d38d363d6ff7b4f8c892becfb58a0339dbef0e

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 338570] Akonadi Dav Resource: Missing Conflict Resolution

2015-03-16 Thread Larx
https://bugs.kde.org/show_bug.cgi?id=338570

--- Comment #4 from Larx throwa...@online.de ---
Any news on this one?!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 338570] Akonadi Dav Resource: Missing Conflict Resolution

2015-03-16 Thread Tim Ruffing
https://bugs.kde.org/show_bug.cgi?id=338570

Tim Ruffing pub...@timruffing.de changed:

   What|Removed |Added

 CC||pub...@timruffing.de

--- Comment #3 from Tim Ruffing pub...@timruffing.de ---
I think bug #343152 is a duplicate of this one.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 338570] Akonadi Dav Resource: Missing Conflict Resolution

2015-02-15 Thread Sammy Bresel
https://bugs.kde.org/show_bug.cgi?id=338570

Sammy Bresel euredudehe...@googlemail.com changed:

   What|Removed |Added

 CC||euredudehe...@googlemail.co
   ||m

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 338570] Akonadi Dav Resource: Missing Conflict Resolution

2014-09-21 Thread Larx
https://bugs.kde.org/show_bug.cgi?id=338570

Larx throwa...@online.de changed:

   What|Removed |Added

 CC||throwa...@online.de

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 338570] Akonadi Dav Resource: Missing Conflict Resolution

2014-09-02 Thread Marco Solieri
https://bugs.kde.org/show_bug.cgi?id=338570

Marco Solieri sou...@xt3.it changed:

   What|Removed |Added

 CC||sou...@xt3.it

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 338570] Akonadi Dav Resource: Missing Conflict Resolution

2014-09-02 Thread Marco Solieri
https://bugs.kde.org/show_bug.cgi?id=338570

Marco Solieri sou...@xt3.it changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1

--- Comment #2 from Marco Solieri sou...@xt3.it ---
*** This bug has been confirmed by popular vote. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 338570] Akonadi Dav Resource: Missing Conflict Resolution

2014-08-31 Thread Ingo Ratsdorf
https://bugs.kde.org/show_bug.cgi?id=338570

Ingo Ratsdorf i...@envirology.co.nz changed:

   What|Removed |Added

 CC||i...@envirology.co.nz

--- Comment #1 from Ingo Ratsdorf i...@envirology.co.nz ---
The way the resource is designed is the following: 
Say we delete an event from Calendar in KOrganizer:
1) Akonadi calls item-deleted function in resource
2) Resource grabs url and etag and send a delete request to the caldav server
together with an if-match header and the stored etag.
3) If everything worked, resource deletes item from akonadi collection

Now comes the tricky bit:
If the above DOES NOT WORK (because the item was changed meanwhile before we
sent that delete request), the resource gets a 412 error back from the server
and calls its retry function and that does emit broken, offline.

So in order for this to work, we need to introduce conflict resolution
handling. Ie in the above, have three exclusive options:
1) ask the user for input
2) delete anyway (we are the boss)
3) reload from server.

This currently does not work as the dav job is not given to the retry function,
only the error message. 
In the above example of deleting an element, the resource should probably do
(either or):

1) Ask user for input and then do one of the below
2) Server wins: ignore delete request and start new job to retrieve updated
item from DAV server - if that fails, either ignore silently or notify user
3) Client wins: Restart the job without the if-match header, delete the item.
If that fails, delete item from collection only, and/or notify user

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 338570] Akonadi Dav Resource: Missing Conflict Resolution

2014-08-27 Thread Alejandro Lorenzo
https://bugs.kde.org/show_bug.cgi?id=338570

Alejandro Lorenzo alejandro_a...@yahoo.es changed:

   What|Removed |Added

 CC||alejandro_a...@yahoo.es

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 338570] Akonadi Dav Resource: Missing Conflict Resolution

2014-08-26 Thread Till Schäfer
https://bugs.kde.org/show_bug.cgi?id=338570

Till Schäfer till2.schae...@uni-dortmund.de changed:

   What|Removed |Added

   Platform|Other   |Gentoo Packages

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs