Bug 322463 - "Error: Failed to configure report " when using SQL backend.
Summary: "Error: Failed to configure report " when using SQL backend.
Status: RESOLVED DUPLICATE of bug 312676
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.6.3
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-17 00:16 UTC by Justin Zane Chudgar
Modified: 2013-09-12 08:48 UTC (History)
1 user (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 Justin Zane Chudgar 2013-07-17 00:16:14 UTC
I cannot edit **any** reports or charts. No matter how significant or minor the change in the report/chart config; I inevitable get the following error dialog:

Failed to configure report: Error in function void MyMoneyStorageSql::writeReport(const MyMoneyReport&, QSqlQuery&) : writing Reports
Driver = QMYSQL, Host = <servername>, User = justin, Database = <dbname>
Driver Error: 
Database Error No -1: 
Text:  
Error type 0
Executed: INSERT INTO kmmReportConfig (name, XML, id) VALUES (?, ?, ?);
Query error No 1062: Duplicate entry 'R0000##' for key 'PRIMARY' QMYSQL3: Unable to execute statement
Error type 2

Note that I generalized the server, dbname and "R0000%02d" parts. 



Reproducible: Always

Steps to Reproduce:
1. Open report/chart for customization
2. change **anything**
3. click "ok" **or** "cancel"
4. < error >
Actual Results:  
see message above.

Expected Results:  
edited config saved
Comment 1 Cristian Oneț 2013-09-12 08:48:00 UTC

*** This bug has been marked as a duplicate of bug 312676 ***