[Akonadi] [Bug 403503] New: mysql init looking for wrong defaults?

Harald Sitter bugzilla_noreply at kde.org
Tue Jan 22 13:41:35 GMT 2019


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

            Bug ID: 403503
           Summary: mysql init looking for wrong defaults?
           Product: Akonadi
           Version: GIT (master)
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: server
          Assignee: kdepim-bugs at kde.org
          Reporter: sitter at kde.org
  Target Milestone: ---

SUMMARY

https://cgit.kde.org/akonadi.git/tree/src/server/storage/dbconfigmysql.cpp#n360

```
        const QString confFile = StandardDirs::locateResourceFile("config",
QStringLiteral("akonadi/mysql-global.conf"));

```

As far as I can tell that shouldn't have the akonadi/ prefix (as seen with
other similar calls in that file). This seems to result in lookups going for
$dir/akonadi/akonadi/mysql-global.conf which is wrong. Simply dropping the
prefix should fix this problem as StandardDirs at a glance prefixes everything
with akonadi/ forcefully. On a related note it may be a good idea to make
StandardDirs either handle already prefixed arguments or raise an error.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list