[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [nepomuk] [Bug 317662] New: No debug message when ontology update failed
From:       Gerben <gerben () treora ! com>
Date:       2013-04-01 0:44:10
Message-ID: bug-317662-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=317662

            Bug ID: 317662
           Summary: No debug message when ontology update failed
    Classification: Unclassified
           Product: nepomuk
           Version: git master
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: storageservice
          Assignee: nepomuk-bugs@kde.org
          Reporter: gerben@treora.com

If there is a problem with parsing an ontology file no message is sent to
kDebug. The signal OntologyLoader::ontologyUpdateFailed is emitted but it is
not connected to anything.
Perhaps add a debug message to
Nepomuk2::OntologyLoader::Private::updateOntology when also emitting the
signal:
kDebug() << "Parsing ontology failed on" << ontoFileInf.filePath() << ":" <<
parser->lastError().message();

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic