GNOME Bugzilla – Bug 632252
Scheduled Transactions lost when converting from XML to mySQL database.
Last modified: 2018-06-29 22:45:55 UTC
Created attachment 172454 [details] Trace containing SQL statement to create database? In testing 2.3.15 with a mySQL back end I have repeatedly had the following problem. a) Open existing XML file in GnuCash. b) Used File/Save As to save to mySQL c) check Scheduled Transaction editor -- details are there. d) check accounts - entries generated by scheduled transactions are there. e) Close GnuCash f) Reopen GnuCash using mySQL back end. g) Scheduled transaction entries on accounts lost h) scheduled transactions in editor lost. As I say this has happened each and every time I have imported the file from XML to mySQL. GnuCash build statement - "This copy was built from r19435M on 2010-10-10." System - running Fedora 13 Kernel - Linux 2.6.34.7-56.fc13.i686.PAE gnucash.trace attached If more details are needed drop me a mail.
Thank you for your report. The trace file you attached is from the GnuCash run where you *load* the mysql database (created during step f.). This trace file looks completely normal. Could you rerun your steps until step e) and then post the trace file ? That should contain traces of *saving* to mysql.
Created attachment 172457 [details] as requested - trace from database load - part 1 (file too big ) can find a create table for schedxactions but no Insert INTO statement Have also tried to create a new schedual transaction at end of file. - seems to have worked.
Created attachment 172458 [details] as requested - trace from database load - part 2 (file too big )
just tried test with new xml created within 2.3.15 - converted fine.
Same result with conversion to SQLITE from historic xml file.
*** This bug has been marked as a duplicate of bug 627831 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=632252. Please update any external references or bookmarks.