[Kde-pim] Review Request 115817: when connection to server fails, set it offline and retry later

Martin Koller kollix at aon.at
Sat Mar 15 21:10:28 GMT 2014



> On Feb. 17, 2014, 3:51 p.m., Dan Vrátil wrote:
> > resources/dav/resource/davgroupwareresource.cpp, line 752
> > <https://git.reviewboard.kde.org/r/115817/diff/1/?file=244437#file244437line752>
> >
> >     Is there a specific error code for host unreachable? I think we should not show a warning to users if we are going to upload the change later. In other cases (server error) this is OK of course.
> >     
> >     Applies for other warning()s too
> 
> Martin Koller wrote:
>     There are a lot of reasons why the job could fail. Why should I distinguish between them if the result is always the same: delay the action and retry later.
>     
>     Generally speaking: I did not see this or other warning messages of the resource somewhere. Where should they be presented to the user ?

The messages are now no longer issued as warning() but only as status()


- Martin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115817/#review50057
-----------------------------------------------------------


On March 15, 2014, 9:06 p.m., Martin Koller wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115817/
> -----------------------------------------------------------
> 
> (Updated March 15, 2014, 9:06 p.m.)
> 
> 
> Review request for KDEPIM, Dan Vrátil and Kevin Krammer.
> 
> 
> Repository: kdepim-runtime
> 
> 
> Description
> -------
> 
> The DAV resource would discard item modifications (add, change, remove) whenever it does not currently reach the DAV server,
> which can happen when I'm connected to the company network but have a DAV server in my home network only.
> 
> This patch makes sure to set the resource to temporary offline in these cases and retries to go online at configured check interval.
> 
> 
> Diffs
> -----
> 
>   resources/dav/resource/davgroupwareresource.cpp b8b2f74 
> 
> Diff: https://git.reviewboard.kde.org/r/115817/diff/
> 
> 
> Testing
> -------
> 
> Tested against my owncloud-6 server
> 
> 
> File Attachments
> ----------------
> 
> agentbase diff
>   https://git.reviewboard.kde.org/media/uploaded/files/2014/03/15/cc6fb9e4-cbd1-47d7-bfdf-bf2cb4cd2a44__agentbase.diff
> 
> 
> Thanks,
> 
> Martin Koller
> 
>

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list