Package: kmymoney
Version: 4.5.3-2
Severity: normal
Tags: patch

When I update my accounts via AqHBCI the credit card transactions
get merged to the giro account instead of the credit card account.

I reported this on:

Now Thomas Baumgart informed me about a patch that should fix this
problem. Find it here - but I will attach it as well:

Please include the patch.

I did not yet try this patch due to time constraints, but for the
author of it fixed that an issue that sounds like the one I have.

If you want I will try building kmymoney packages with the patch
included, but it could take quite some time.

Thomas already merged this patch upstream.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (450, 'testing'), (400, 'unstable'), (110, 'experimental')
Architecture: i386 (i686)

Kernel: Linux (PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kmymoney depends on:
ii  kdebase-runtime             4:4.6.2-1    runtime components from the offici
ii  kdepim-runtime              4: Runtime components for akonadi-kde
ii  kmymoney-common             4.5.3-2      KMyMoney architecture independent 
ii  libaqbanking33              5.0.5-1      library for online banking applica
ii  libc6                       2.11.2-11    Embedded GNU C Library: Shared lib
ii  libgcc1                     1:4.6.0-2    GCC support library
ii  libgpgme++2                 4:4.6.2-1    c++ wrapper library for gpgme
ii  libgwengui-qt4-0            4.0.9-1+b1   Gwenhywfar GUI implementation for 
ii  libgwenhywfar60             4.0.9-1+b1   OS abstraction layer
ii  libical0                    0.44-3       iCalendar library implementation i
ii  libkabc4                    4:4.6.2-1    library for handling address book 
ii  libkdecore5                 4:4.6.2-1    KDE Platform Core Library
ii  libkdeui5                   4:4.6.2-1    KDE Platform User Interface Librar
ii  libkfile4                   4:4.6.2-1    File Selection Dialog Library for 
ii  libkholidays4               4:4.6.2-1    holidays calculation library
ii  libkhtml5                   4:4.6.2-1    KHTML Web Content Rendering Engine
ii  libkio5                     4:4.6.2-1    Network-enabled File Management Li
ii  libkutils4                  4:4.6.2-1    dummy transitional library
ii  libofx4                     1:0.9.0-3    library to support Open Financial 
ii  libqt4-dbus                 4:4.7.2-3    Qt 4 D-Bus module
ii  libqt4-network              4:4.7.2-3    Qt 4 network module
ii  libqt4-sql                  4:4.7.2-3    Qt 4 SQL module
ii  libqt4-svg                  4:4.7.2-3    Qt 4 SVG module
ii  libqt4-xml                  4:4.7.2-3    Qt 4 XML module
ii  libqtcore4                  4:4.7.2-3    Qt 4 core module
ii  libqtgui4                   4:4.7.2-3    Qt 4 GUI module
ii  libstdc++6                  4.6.0-2      The GNU Standard C++ Library v3

kmymoney recommends no packages.

kmymoney suggests no packages.

-- no debconf information
diff -u -r kmymoney-4.5.3/kmymoney/plugins/kbanking/mymoneybanking.cpp kmymoney-4.5.3-patched/kmymoney/plugins/kbanking/mymoneybanking.cpp
--- kmymoney-4.5.3/kmymoney/plugins/kbanking/mymoneybanking.cpp	2011-02-12 10:05:41.000000000 +0100
+++ kmymoney-4.5.3-patched/kmymoney/plugins/kbanking/mymoneybanking.cpp	2011-05-04 14:44:47.142466981 +0200
@@ -343,8 +343,8 @@
 QString KBankingPlugin::stripLeadingZeroes(const QString& s) const
   QString rc(s);
-  QRegExp exp("^(0*)([^0]*)");
-  if (exp.exactMatch(s) != -1) {
+  QRegExp exp("^(0*)([^0].*)");
+  if (exp.indexIn(s) != -1) {
     rc = exp.cap(2);
   return rc;
pkg-kde-extras mailing list

Reply via email to