Bug 356518

Summary: Akonadi wrong storage (Sqlite) configuration via UI in 4:15.08.2-ubuntu1
Product: [Frameworks and Libraries] Akonadi Reporter: zx_master
Component: serverAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: major CC: dvratil
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description zx_master 2015-12-11 16:40:13 UTC
I'm not able to switch to Sqlite data source via Akonadi configuration UI.
It does not save my settings and shows me always MySQL source when I close and reopen configuration UI.

It makes some changes in akonadiserverrc BUT it does not help - it can not start with Sqlite dataseource.

Looks like it also write wrong information in  ~/.config/akonadi/akonadiserverrc
After  I submit new settings via UI it changes file content like this:
[Debug]
Tracer=null
[%General]
Driver=QSQLITE3
[QMYSQL]
..................
[QPSQL]
.............
[SQLITE]
Name=akonadi

BUT IN ORDER TO GET IT WORK I have to alter this configuration by
removig:
[SQLITE]
Name=akonadi

And replace it with:
[QSQLITE3]
Name=/home/mylogin/.local/share/akonadi/akonadi.db

PLUS after several config updates via UI I've found multiple records in akonadiserverrc:
[%General]
Driver=QSQLITE3
[%General]
Driver=QSQLITE3


Reproducible: Always

Steps to Reproduce:
I'm use russian locale but hope that this is not related.
1. Open Akonadi server configuration
2. Switch to SQLite source
3. Close Configuration window
4. Open it again

Actual Results:  
Configuration shows me MySql as source for Akonadi

Expected Results:  
It must show me SQLite related configuration
Comment 1 Daniel Vrátil 2016-01-03 17:27:35 UTC
The UI has been removed in 15.12. We don't support switching the backends once they are set up and the UI was broken allowing this and generating invalid config files (as you found out).