This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Changing Start date of import breaks online banking (5.0.1)

Tags: None
(comma "," separated)
Corn Flake
Registered Member
Posts
4
Karma
0
Changing the option of the Start date of import is breaking my online banking - update account is grayed out afterwards.

Steps to reproduce:
1. Map an OFX import on an account; successfully download data
2. Go to Account -> Edit Account -> Online Settings -> Import Details -> Start date of import -> set to Last update.
3. "Update account" is now grayed out and inaccessible. "Online Settings" no longer shows under Edit Account. Only way to restore online banking is to unmap the account and remap it afterwards.
I am running 5.0.1 on OpenSuSE 15.0

Here's the .kmy online banking sections: the first one was changed to Last Update and stopped working. The bottom one was left to the default of 60 days and still works.

Code: Select all
 <ACCOUNT currency="USD" name="Chase Slate xxxx" number="xxxx" type="4" institution="I000002" lastreconciled="2018-07-10" lastmodified="2018-08-20" opened="2014-01-01" id="A000129" parentaccount="AStd::Liability" description="">
   <ONLINEBANKING kmmofx-pickDate="0" kmmofx-acc-ref="-xxxxxxxxxxxxxxxx " kmmofx-specificDate="Mon Aug 20 2018" bankname="Chase (credit card) " type="CREDIT CARD" org="B1" appId="QWIN:2500" url="https://ofx.chase.com" username="xxxxxxxxxxx" fid="xxxxx" kmmofx-todayMinus="0" kmmofx-numRequestDays="60" protocol="OFX" kmmofx-headerVersion="103" kmmofx-preferName="0" provider="OFX Importer" clientUid="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" accountid="xxxxxxxxxxxxxxxx" uniqueId="xxxxxxxxxxxxxxxx " kmmofx-lastUpdate="1" fipid=""/>
   <KEYVALUEPAIRS>
    <PAIR key="IBAN" value=""/>
    <PAIR key="lastImportedTransactionDate" value="2018-08-20"/>
    <PAIR key="lastNumberUsed" value="1"/>
    <PAIR key="lastStatementBalance" value="-xxxxx/xx"/>
    <PAIR key="lastStatementDate" value="2018-07-10"/>
    <PAIR key="maxCreditAbsolute" value="-xxxxx/x"/>
    <PAIR key="maxCreditEarly" value="-xxxxx/x"/>
    <PAIR key="reconciliationHistory" value="2018-06-10:-xxxx/xx;2018-07-10:-xxxxx/xxx"/>
   </KEYVALUEPAIRS>
  </ACCOUNT>
 
  <ACCOUNT currency="USD" name="Chase Visa xxxx" number="xxxx" type="4" institution="I000002" lastreconciled="2018-07-28" lastmodified="2018-08-20" opened="2014-01-01" id="A000130" parentaccount="AStd::Liability" description="">
   <ONLINEBANKING kmmofx-acc-ref="-xxxxxxxxxxxxxxxx " uniqueId="xxxxxxxxxxxxxxxx " appId="QWIN:2500" fid="xxxxx" type="CREDIT CARD" fipid="" username="xxxxxxxxxxx" kmmofx-headerVersion="103" accountid="xxxxxxxxxxxxxxxx" bankname="Chase (credit card) " org="B1" provider="ofximporter" clientUid="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" protocol="OFX" url="https://ofx.chase.com"/>
   <KEYVALUEPAIRS>
    <PAIR key="IBAN" value=""/>
    <PAIR key="lastImportedTransactionDate" value="2018-08-24"/>
    <PAIR key="lastNumberUsed" value="1"/>
    <PAIR key="lastStatementBalance" value="-xxxxx/xxx"/>
    <PAIR key="lastStatementDate" value="2018-05-28"/>
    <PAIR key="maxCreditAbsolute" value="-xxxxx/x"/>
    <PAIR key="maxCreditEarly" value="-xxxx/x"/>
    <PAIR key="reconciliationHistory" value="2018-03-28:-xxxxx/xxx;2018-04-28:-xxxx/xx;2018-05-28:-xxxxx/xxx"/>
   </KEYVALUEPAIRS>
  </ACCOUNT>
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS
This is a known (and in the meantime fixed) issue. The problem is, that the attribute provider="OFX Importer" gets changed into provider="ofximporter", which is causing the trouble since KMyMoney checks an existing mapping against this (first) name. Since you're down on the file level, you could change it there. Using the UI, one would unmap and re-map the account.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
Corn Flake
Registered Member
Posts
4
Karma
0
Thanks for the lead. I was able to fix it, but doing it backwards. In VI:

This breaks or keeps broken online banking:
:%s/"ofximporter"/"OFX Importer"/g

This fixed it:
:%s/"OFX Importer"/"ofximporter"/g

Looking forward to 5.0.2. :-)


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]