Bug 245157 - email feeder creates invalid SPARQL for addresses containing quoted-strings
Summary: email feeder creates invalid SPARQL for addresses containing quoted-strings
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Nepomuk Feeder Agents (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-19 18:35 UTC by Will Stephenson
Modified: 2010-08-02 10:47 UTC (History)
2 users (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 Will Stephenson 2010-07-19 18:35:42 UTC
Version:           unspecified
OS:                Linux

Email addresses of the form "John Doe"@domain.org are ugly but legal.  The extra quoting creates invalid SPARQL queries:

[/space/kde/installs/4_5/bin/nepomukservicestub] "/space/kde/installs/4_5/bin/nepomukservicestub(4830)" Error in thread 2923506544 : "SQLExecDirect failed on query 'sparql  SELECT ?person WHERE { ?person <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#hasEmailAddress> ?email . ?email <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#emailAddress> ""DL-Germany AllUsers"@novell.com"^^<http://www.w3.org/2001/XMLSchema#string> }' (iODBC Error: [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]SQ074: Line 1: SP030: SPARQL compiler, line 1: syntax error at 'DL' before '-')"


Reproducible: Didn't try

Steps to Reproduce:
Allow folders containing mail with To: addresses of this form to be indexed.

Actual Results:  
nepomuk-email-feeder hangs and causes virtuoso, dbus and itself to uses 100% cpu between them