Q43 import plugin does reverse amount

Bug #724393 reported by Juan Pedro Paredes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libaqbanking (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Spanish Q43 import plugin reverses the deposit and the payment assets
patch provided, please use svn version of the file q43.c

--- ./src/plugins/imexporters/q43/q43.c 2011-02-24 01:36:08.513171559 +0100
+++ q.c 2011-02-24 01:35:51.453171562 +0100
@@ -295,7 +295,7 @@
          return GWEN_ERROR_BAD_DATA;
        }
        else {
- if (p[27]=='2')
+ if (p[27]=='1')
            /* FIXME: Do we have to negate on "1" or "2"? */
            AB_Value_Negate(v);
          AB_Transaction_SetValue(t, v);

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libaqbanking33-plugins 5.0.2-2
ProcVersionSignature: Ubuntu 2.6.38-2.29-generic 2.6.38-rc3
Uname: Linux 2.6.38-2-generic x86_64
Architecture: amd64
Date: Thu Feb 24 01:29:37 2011
EcryptfsInUse: Yes
ProcEnviron:
 LANGUAGE=
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: libaqbanking

Revision history for this message
Juan Pedro Paredes (juampe) wrote :
Revision history for this message
Juan Pedro Paredes (juampe) wrote :

--- ./src/plugins/imexporters/q43/q43.c 2011-02-24 01:36:08.513171559 +0100
+++ q.c 2011-02-24 01:35:51.453171562 +0100
@@ -295,7 +295,7 @@
          return GWEN_ERROR_BAD_DATA;
        }
        else {
- if (p[27]=='2')
+ if (p[27]=='1')
            /* FIXME: Do we have to negate on "1" or "2"? */
            AB_Value_Negate(v);
          AB_Transaction_SetValue(t, v);

Revision history for this message
Micha Lenk (micha) wrote :

Thank you for the bug report. The patch is now applied upstream and will be part of the next release (probably AqBanking 5.0.5).

Changed in libaqbanking (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libaqbanking - 5.0.5-1

---------------
libaqbanking (5.0.5-1) unstable; urgency=low

  * New upstream release (LP: #724393)
  * Updated symbols file for added AB_Value functions
  * Removed symlinks installed for compatibility with obsolete AqBanking 2
  * Removed obsolete configure flag '--with-frontends'

libaqbanking (5.0.2-3) unstable; urgency=low

  * First upload of AqBanking 5 to unstable.
  * Add check to ensure that required Gwenhywfar version is up to date
    in build dependencies. This should avoid build failures due to insufficient
    version requirements in build dependencies for the future.
 -- Ubuntu Archive Auto-Sync <email address hidden> Sat, 30 Apr 2011 13:01:02 +0000

Changed in libaqbanking (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.