Bug 91290

Summary: database is not excaping ' in names of albums
Product: [Applications] digikam Reporter: Steven Michalske <michalsc>
Component: Database-AlbumsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 8.0.0

Description Steven Michalske 2004-10-14 06:27:14 UTC
Version:           0.7-beta (using KDE KDE 3.3.0)
Installed from:    Compiled From Sources
Compiler:          gcc 3.3 
OS:                Linux

Output from console:

digikam: WARNING: [bool AlbumDB::execSql(const QString&, QStringList*, bool)] sqlite_compile error: near "s": syntax error on query: INSERT INTO Images (name, dirid, caption) VALUES('Rhonda's wedding with April.jpg','29','');
digikam: WARNING: [bool AlbumDB::execSql(const QString&, QStringList*, bool)] sqlite_compile error: near "s": syntax error on query: INSERT INTO Images (name, dirid, caption) VALUES('Rhonda's wedding with April.xcf','29','');
Comment 1 Renchi Raju 2004-10-14 20:05:13 UTC
fixed in cvs. there was one case of string not being escaped, name of file when digikam imports 0.6.x xml files into the database. thanks for reporting