Your message dated Sat, 02 Aug 2008 18:47:06 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#492706: fixed in gnucash 2.2.6-1
has caused the Debian Bug report #492706,
regarding Showing the matching page twice and finishing the Online Banking 
Setup druid causes a crash
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
492706: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492706
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: gnucash
Version: 2.2.4-2
Severity: serious
Justification: Might cause data loss
Tags: fixed-upstream patch

Hi Thomas,

on the Gnucash development Andreas Köhler [1]mentioned a bugfix he made
in the Online Banking Setup Wizard: After showing the matching page
twice and finishing the druid Gnucash crashes. If changes were made (for
instance transactions entered or changed) prior to the crash, those
changes would be lost with this crash. Hence I've chosen severity serious.

1.
http://www.nabble.com/Re%3A-ofxdirectconnect-in-aqbanking3-branch-p18553758.html

Fortunately the bug is fixed in upstream in the changeset [2]17346,
which has been released with Gnucash 2.2.6 recently. I've extracted the
changeset and attached it to this mail as a patch. You should be able to
apply this patch on top of the unpackaged (thus already patched) source
package of gnucash 2.2.4-2 using the command
"patch -p0 < /path/to/matching_page_crash.patch".

2. http://svn.gnucash.org/trac/changeset/17346

It would be very helpful if this patch finds its way into the release of
Debian Lenny.

Regards
  Micha


Index: src/import-export/aqbanking/druid-ab-initial.c
===================================================================
--- src/import-export/aqbanking/druid-ab-initial.c	(Revision 17345)
+++ src/import-export/aqbanking/druid-ab-initial.c	(Revision 17346)
@@ -88,6 +88,7 @@
     GtkWidget *druid;
 
     /* account match page */
+    gboolean match_page_prepared;
     GtkTreeView *account_view;
     GtkListStore *account_store;
 
@@ -309,13 +310,18 @@
     Account *root;
     AccCbData data;
 
-
     g_return_if_fail(info && info->api);
 
     /* No way back */
     gnome_druid_set_buttons_sensitive(GNOME_DRUID(info->druid),
                                       FALSE, TRUE, TRUE, TRUE);
 
+    /* Do not run this twice */
+    if (info->match_page_prepared)
+        return;
+    else
+        info->match_page_prepared = TRUE;
+
     /* Load aqbanking accounts */
     AB_Banking_OnlineInit(info->api);
 
@@ -738,6 +744,7 @@
     info->deferred_info = NULL;
     info->gnc_hash = NULL;
 
+    info->match_page_prepared = FALSE;
     info->account_view =
         GTK_TREE_VIEW(glade_xml_get_widget(xml, "account_page_view"));
     info->account_store = gtk_list_store_new(NUM_ACCOUNT_LIST_COLS,


--- End Message ---
--- Begin Message ---
Source: gnucash
Source-Version: 2.2.6-1

We believe that the bug you reported is fixed in the latest version of
gnucash, which is due to be installed in the Debian FTP archive:

gnucash-common_2.2.6-1_all.deb
  to pool/main/g/gnucash/gnucash-common_2.2.6-1_all.deb
gnucash_2.2.6-1.diff.gz
  to pool/main/g/gnucash/gnucash_2.2.6-1.diff.gz
gnucash_2.2.6-1.dsc
  to pool/main/g/gnucash/gnucash_2.2.6-1.dsc
gnucash_2.2.6-1_i386.deb
  to pool/main/g/gnucash/gnucash_2.2.6-1_i386.deb
gnucash_2.2.6.orig.tar.gz
  to pool/main/g/gnucash/gnucash_2.2.6.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Bushnell, BSG <[EMAIL PROTECTED]> (supplier of updated gnucash package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 02 Aug 2008 11:04:24 -0700
Source: gnucash
Binary: gnucash gnucash-common
Architecture: source all i386
Version: 2.2.6-1
Distribution: unstable
Urgency: low
Maintainer: Thomas Bushnell, BSG <[EMAIL PROTECTED]>
Changed-By: Thomas Bushnell, BSG <[EMAIL PROTECTED]>
Description: 
 gnucash    - A personal finance tracking program
 gnucash-common - A personal finance tracking program
Closes: 473657 481290 491843 492705 492706 492707 492708 492711 492799
Changes: 
 gnucash (2.2.6-1) unstable; urgency=low
 .
   * New upstream release.  (Closes: #492706, #492711, #492705, #492707,
     #492708, #491843, #473657, #481290).
   * debian/rules (configure): Add --enable-python-bindings and
     --enable-locale-specific-tax.
   * debian/control (Build-Depends): Remove build dependencies no longer
     needed (libltd3-dev, liborbit-dev, libungif4-dev), or which are
     indirect (libjpeg62-dev, libbonobo2-dev, libgnomevfs2-dev,
     libgnomevfs2-extra, imagemagick, libart-2.0-dev).
 .
   * src/import-export/aqbanking/gnc-ab-utils.c (gnc_ab_get_remote_name):
     Actually get remote name, not purpose.  Patch thanks to Micha Lenk.
     (Closes: #492799).
Checksums-Sha1: 
 5e55e515fad29391bacc6c8b7df63da301d2fc0f 1495 gnucash_2.2.6-1.dsc
 fca2d450af63dfc151b042850ac5dbad1cbbddcb 10103311 gnucash_2.2.6.orig.tar.gz
 63b6943e881366c2b8b55cf874f5cf53efe69bfd 18573 gnucash_2.2.6-1.diff.gz
 317e62094af4f249a7e8d5bfe8ca6f2a8337daa0 4611422 gnucash-common_2.2.6-1_all.deb
 57268eaebcb1b09ca9912a89208310319d92e51f 1841480 gnucash_2.2.6-1_i386.deb
Checksums-Sha256: 
 3d3ae578c2d350660a9e68a9eac0f67425f8f23652b00436bfa5247c3201e6a8 1495 
gnucash_2.2.6-1.dsc
 27ad68a3ecbb08df70610ed7b09ecbb4d088b03d31ff0fe7a4da9c437806b758 10103311 
gnucash_2.2.6.orig.tar.gz
 17c431df8e23ab16324aacbdec47f98732eaef2b059ecddfd2ed2cd851292221 18573 
gnucash_2.2.6-1.diff.gz
 f47e12b3776dbedd515bf4c353dcf77eeff7cbb2b1045aed011e8046be1ba136 4611422 
gnucash-common_2.2.6-1_all.deb
 c0f4733cfb83c714783601679366628af202deb38b9f3216df1e799bd80e88be 1841480 
gnucash_2.2.6-1_i386.deb
Files: 
 f8bf0cc41a0b24a9f5574fe29b51bce1 1495 gnome optional gnucash_2.2.6-1.dsc
 7ac08c5e2076c9b4d44c785d21bc1a2f 10103311 gnome optional 
gnucash_2.2.6.orig.tar.gz
 80e3b742d4c771163abb72ec8edd6f83 18573 gnome optional gnucash_2.2.6-1.diff.gz
 2710d579a043b1d4f7c22637951b28b6 4611422 gnome optional 
gnucash-common_2.2.6-1_all.deb
 85ce17f262274e912e59cd21e3d720c2 1841480 gnome optional 
gnucash_2.2.6-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkiUqFEACgkQqMsB9b6fcOr09QCdHPtCoo/AXkGjVnkYcm0eqxwV
nmMAn3n5NHvLMwfc2vTuUiYVZgMDNcVU
=1of0
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to