[Nepomuk] Review Request: Mark resourcemanager soprano socket as disconnected when nepomuk is shut down (kdelibs version)

Commit Hook null at kde.org
Tue Nov 13 01:55:47 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107285/#review21907
-----------------------------------------------------------


This review has been submitted with commit 436b31deabd46f3ccd8fa0b7d6ac03e1bcac2948 by Simeon Bird to branch KDE/4.9.

- Commit Hook


On Nov. 11, 2012, 4:24 a.m., Simeon Bird wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/107285/
> -----------------------------------------------------------
> 
> (Updated Nov. 11, 2012, 4:24 a.m.)
> 
> 
> Review request for Nepomuk, Vishesh Handa and Sebastian Trueg.
> 
> 
> Description
> -------
> 
> Manually disconnect the socket connection to nepomuk in the resourcemanager when
> nepomuk is shut down. 
>     
> This is needed because the Soprano method isConnected() does not
> actually check whether the socket is connected or not, 
> merely whether it has been connected at some point in the past. 
> So if we do not disconnect, Nepomuk::MainModel::isValid() will falsely claim 
> that the connection is ready for data, causing problems 
> should anything try to use it.
> 
> Same as #107283, but for kdelibs nepomuk instead of nepomuk-core nepomuk. 
> 
> Both are needed to actually fix the bug, even in 4.10, because kFileMetaDataWidget still 
> depends on nepomuk from kdelibs, and thus dolphin still links to kdelibs nepomuk. 
> 
> 
> This addresses bug 295933.
>     http://bugs.kde.org/show_bug.cgi?id=295933
> 
> 
> Diffs
> -----
> 
>   nepomuk/core/nepomukmainmodel.h a08ba5c 
>   nepomuk/core/nepomukmainmodel.cpp 3473dbc 
>   nepomuk/core/resourcemanager.cpp b3a1c80 
> 
> Diff: http://git.reviewboard.kde.org/r/107285/diff/
> 
> 
> Testing
> -------
> 
> Same as 107283
> 
> 
> Thanks,
> 
> Simeon Bird
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20121113/7d3acd92/attachment.html>


More information about the Nepomuk mailing list