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

            Bug ID: 394259
           Summary: Elisa has empty albums and artists folders
           Product: elisa
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: matthieu_gall...@yahoo.fr
          Reporter: w01dn...@gmail.com
  Target Milestone: ---

Created attachment 112654
  --> https://bugs.kde.org/attachment.cgi?id=112654&action=edit
removing of SQL parameter second usage

When launching Elisa it scans for tracks and shows them in Tracks section, but
in Albums or Artists sections every folder appears to be empty. I've found a
lot of errors (two distinct, but repeated a lot), when Elisa is launched from
terminal:

DatabaseInterface::updateTracksCount QSqlError("", "Parameter count mismatch",
"")
DatabaseInterface::fetchTracks QSqlError("", "Parameter count mismatch", "")

There are also SQL expression and bind map. All looks quite fine, the only I've
noted parameter :albumId is mentioned twice in that expression. I've tried to
rewrite SQL to use that parameter only once and it seems working fine after
that.

I'm not sure this is exactly an Elisa error or somewhere between Qt and SQLite.
Haven't found any statement that parameters should be used only once.

Qt: 5.10.0
SQLite: 3.23.1

Should I move patch to phabricator?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to