<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>481144</bug_id>
          
          <creation_ts>2024-02-09 20:39:01 +0000</creation_ts>
          <short_desc>import tracker impossible, neither from homebank (TAG / ETIQUETTE) nor from a .csv file</short_desc>
          <delta_ts>2024-02-10 10:16:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>skrooge</product>
          <component>general</component>
          <version>2.30.0</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>25.1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="theo">theo.raves</reporter>
          <assigned_to name="Stephane MANKOWSKI">stephane</assigned_to>
          
          
          <cf_commitlink>https://invent.kde.org/office/skrooge/-/commit/8dabd45e26c56fd58bf637707b1cd2c5e354fce0</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2287625</commentid>
    <comment_count>0</comment_count>
    <who name="theo">theo.raves</who>
    <bug_when>2024-02-09 20:39:01 +0000</bug_when>
    <thetext>SUMMARY
***

***


STEPS TO REPRODUCE
1. import from a .xhb file or .csv file
2. check field TRACKER
3. empty, not loaded

OBSERVED RESULT
field TRACKER not filled

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: WSL / UBUNTU

KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2287626</commentid>
    <comment_count>1</comment_count>
    <who name="Stephane MANKOWSKI">stephane</who>
    <bug_when>2024-02-09 20:41:42 +0000</bug_when>
    <thetext>Hi,

Could you provide me a minimalist xhb file with a tag to reproduce the issue ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2287634</commentid>
    <comment_count>2</comment_count>
      <attachid>165709</attachid>
    <who name="theo">theo.raves</who>
    <bug_when>2024-02-09 20:56:41 +0000</bug_when>
    <thetext>Created attachment 165709
Stephane.xhb

Bonsoir Stéphane,

Réaction supersonique !

Mes excuses pour import d&apos;un .csv : cela marche enfin (!) avec TAG comme 
nom du champ et un nombre correct de séparateurs.

Par contre à partir d&apos;un .xhb, non.

Ci-joint un maigre fichier qui, j&apos;espère, vous sera utile.

Cdt, Theo

PS : Je suis d&apos;origine un NL, depuis 10 ans en France; belle lange que 
je maîtrise partiellement.

Le 09/02/2024 à 21:41, Stephane MANKOWSKI a écrit :
&gt; https://bugs.kde.org/show_bug.cgi?id=481144
&gt;
&gt; Stephane MANKOWSKI &lt;stephane@mankowski.fr&gt; changed:
&gt;
&gt;             What    |Removed                     |Added
&gt; ----------------------------------------------------------------------------
&gt;               Status|REPORTED                    |NEEDSINFO
&gt;           Resolution|---                         |WAITINGFORINFO
&gt;
&gt; --- Comment #1 from Stephane MANKOWSKI &lt;stephane@mankowski.fr&gt; ---
&gt; Hi,
&gt;
&gt; Could you provide me a minimalist xhb file with a tag to reproduce the issue ?
&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2287644</commentid>
    <comment_count>3</comment_count>
    <who name="Stephane MANKOWSKI">stephane</who>
    <bug_when>2024-02-09 21:41:35 +0000</bug_when>
    <thetext>Thank you.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2287694</commentid>
    <comment_count>4</comment_count>
      <attachid>165715</attachid>
    <who name="theo">theo.raves</who>
    <bug_when>2024-02-10 06:14:13 +0000</bug_when>
    <thetext>Created attachment 165715
Stephane.xhb

Bonsoir Stéphane,

Réaction supersonique ! /Et trop rapide de ma part ! Correction :/


Ci-dessous marche (enfin) *pour HomeBank* et NON pour skrooge ...

    Pour import d&apos;un .csv : cela marche enfin (!) avec TAG comme nom du
    champ et un nombre correct de séparateurs.


Ci-joint 3 fichiers : Stephane.xhb, Stephane.skg et Acc.csv, ce dernier 
essayé d&apos;importer avec en-têtes Tracker &amp; Etiquette.


Cdt, Theo

PS : Je suis d&apos;origine un NL, depuis 10 ans en France; belle lange que 
je maîtrise partiellement.

Le 09/02/2024 à 21:41, Stephane MANKOWSKI a écrit :
&gt; https://bugs.kde.org/show_bug.cgi?id=481144
&gt;
&gt; Stephane MANKOWSKI &lt;stephane@mankowski.fr&gt; changed:
&gt;
&gt; What |Removed |Added
&gt; ----------------------------------------------------------------------------
&gt; Status|REPORTED |NEEDSINFO
&gt; Resolution|--- |WAITINGFORINFO
&gt;
&gt; --- Comment #1 from Stephane MANKOWSKI &lt;stephane@mankowski.fr&gt; ---
&gt; Hi,
&gt;
&gt; Could you provide me a minimalist xhb file with a tag to reproduce the 
&gt; issue ?
&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2287715</commentid>
    <comment_count>5</comment_count>
    <who name="Stephane MANKOWSKI">stephane</who>
    <bug_when>2024-02-10 10:16:17 +0000</bug_when>
    <thetext>Git commit 8dabd45e26c56fd58bf637707b1cd2c5e354fce0 by Stephane MANKOWSKI.
Committed on 10/02/2024 at 10:16.
Pushed by smankowski into branch &apos;master&apos;.

import tracker impossible, neither from homebank (TAG / ETIQUETTE)

M  +1    -0    CHANGELOG
M  +9    -1    plugins/import/skrooge_import_xhb/skgimportpluginxhb.cpp
A  +9    -0    tests/input/skgtestimportxhb/481144.xhb
M  +20   -0    tests/skgbankmodelertest/skgtestimportxhb.cpp

https://invent.kde.org/office/skrooge/-/commit/8dabd45e26c56fd58bf637707b1cd2c5e354fce0</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>165709</attachid>
            <date>2024-02-09 20:56:41 +0000</date>
            <delta_ts>2024-02-09 20:56:41 +0000</delta_ts>
            <desc>Stephane.xhb</desc>
            <filename>Stephane.xhb</filename>
            <type>text/xml</type>
            <size>547</size>
            <attacher name="theo">theo.raves</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIj8+Cjxob21lYmFuayB2PSIxLjM5OTk5OTk5OTk5OTk5OTkiIGQ9
IjA1MDcwNCI+Cjxwcm9wZXJ0aWVzIHRpdGxlPSJJbmNvbm51IiBjdXJyPSIxIiBhdXRvX3Ntb2Rl
PSIwIiBhdXRvX3dlZWtkYXk9IjEiIGF1dG9fbmJtb250aHM9IjEiLz4KPGN1ciBrZXk9IjEiIGZs
YWdzPSIwIiBpc289IkVVUiIgbmFtZT0iRXVybyIgc3ltYj0i4oKsIiBzeXByZj0iMCIgZGNoYXI9
IiwiIGdjaGFyPSLigK8iIGZyYWM9IjIiIHJhdGU9IjAiIG1kYXRlPSIwIi8+CjxhY2NvdW50IGtl
eT0iMSIgcG9zPSIxIiB0eXBlPSIxIiBjdXJyPSIxIiBuYW1lPSJBY2MiIGluaXRpYWw9IjM1MCIg
bWluaW11bT0iMCIgbWF4aW11bT0iMCIvPgo8Y2F0IGtleT0iMSIgbmFtZT0ibG9jYXRpb24gc2Fs
bGUiLz4KPHRhZyBrZXk9IjEiIG5hbWU9IldFX2NvIi8+CjxvcGUgZGF0ZT0iNzM4OTI1IiBhbW91
bnQ9Ii0xMDAiIGFjY291bnQ9IjEiIGNhdGVnb3J5PSIxIiB3b3JkaW5nPSJ4aGIgcG91ciBTdMOp
cGhhbmUiIHRhZ3M9IldFX2NvIi8+CjwvaG9tZWJhbms+Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>165715</attachid>
            <date>2024-02-10 06:14:13 +0000</date>
            <delta_ts>2024-02-10 06:14:13 +0000</delta_ts>
            <desc>Stephane.xhb</desc>
            <filename>Stephane.xhb</filename>
            <type>text/xml</type>
            <size>547</size>
            <attacher name="theo">theo.raves</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIj8+Cjxob21lYmFuayB2PSIxLjM5OTk5OTk5OTk5OTk5OTkiIGQ9
IjA1MDcwNCI+Cjxwcm9wZXJ0aWVzIHRpdGxlPSJJbmNvbm51IiBjdXJyPSIxIiBhdXRvX3Ntb2Rl
PSIwIiBhdXRvX3dlZWtkYXk9IjEiIGF1dG9fbmJtb250aHM9IjEiLz4KPGN1ciBrZXk9IjEiIGZs
YWdzPSIwIiBpc289IkVVUiIgbmFtZT0iRXVybyIgc3ltYj0i4oKsIiBzeXByZj0iMCIgZGNoYXI9
IiwiIGdjaGFyPSLigK8iIGZyYWM9IjIiIHJhdGU9IjAiIG1kYXRlPSIwIi8+CjxhY2NvdW50IGtl
eT0iMSIgcG9zPSIxIiB0eXBlPSIxIiBjdXJyPSIxIiBuYW1lPSJBY2MiIGluaXRpYWw9IjM1MCIg
bWluaW11bT0iMCIgbWF4aW11bT0iMCIvPgo8Y2F0IGtleT0iMSIgbmFtZT0ibG9jYXRpb24gc2Fs
bGUiLz4KPHRhZyBrZXk9IjEiIG5hbWU9IldFX2NvIi8+CjxvcGUgZGF0ZT0iNzM4OTI1IiBhbW91
bnQ9Ii0xMDAiIGFjY291bnQ9IjEiIGNhdGVnb3J5PSIxIiB3b3JkaW5nPSJ4aGIgcG91ciBTdMOp
cGhhbmUiIHRhZ3M9IldFX2NvIi8+CjwvaG9tZWJhbms+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>