<div dir="ltr"><br><br><br>> From: Jack <<a href="mailto:ostroffjh@users.sourceforge.net">ostroffjh@users.sourceforge.net</a>><br>> To: <a href="mailto:kmymoney@kde.org">kmymoney@kde.org</a><br>> Subject: Re: Mapping second credit card corrupts first card import<br>>         configuration<br>> Message-ID: <MKHCOEF3.PJNTFEDX.ZCFFQXP3@46WQ3BQX.CWNN7763.ORSNHNHM><br>> Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed<br>><br>> On 2018.07.17 23:24, Jeffrey Johnston wrote:<br>>> I am upgrading from kmymoney 4.7.2 (Mint17) to KmyMoney 5.0.1-2 <br>>> (kubuntu 18.04).<br>>><br>>> I have 2 credit cards issued from the same bank.   When I map the <br>>> account for the first card to use the ofximporter it asks me to <br>>> choose which of the accounts at the bank I want to assigned to the <br>>> account in kmymoney. I click on the appropriate account and I can <br>>> then successfully update the account. When I map the second credit <br>>> card it is also successful and can be updated. However, the update <br>>> menu for the first card is now grayed out  (unmap option is still <br>>> available) and if I click the edit account menu the online settings <br>>> tab has disappeared.<br>>><br>>> Clicking update all accounts will cause the second card data to be <br>>> updated, but not the first.<br>>> Unmapping and then remapping the account for the first card will then <br>>> cause the account for the second card to not be updated.<br>>><br>>> I have another bank that I have both a checking and credit card <br>>> account.  I am able to map both of them for online access using <br>>> ofximporter.<br>>><br>>> This worked on kmymoney 4.7.2.<br>>> If I search for packages installed for ofx, the only thing installed <br>>> is libaqofxconnect7  5.6.10-4.<br>>><br>> I don't know how many folks have two credit cards with the same bank <br>> login, and that would be the only way to confirm this, unless something <br>> could be found walking through the code.  I have two cards from the <br>> same bank, but one in my name and one in my wife's so they have <br>> different login credentials, and I have no problem with both of them <br>> mapped.<br>><br>> Also, to clarify - you had both cards mapped when using 4.7.2, and <br>> could successfully update both of them, correct?  (Do you know if it <br>> worked with 4.8?)  When you switched to 5.0.1, what was the first <br>> problem you noticed.  Was it that neither could be updated, but both <br>> could be unmapped?  That is a known problem, but you should be able to <br>> remap both accounts without the problem you are seeing.<br>><br>> One thing that might help (not sure) is to extract the relevant lines <br>> from your data file.  (To do so, copy your file.kmy to file.xml.gz, <br>> gunzip it, and then grep for ONLINEBANKING.  If you have many mapped <br>> accounts, grep again for the relevant accounts or bank url.)  Do this <br>> when one of the cards is mapped OK.  Then remap the second card and do <br>> it again.  Compare the two results to see if you can tell what changed <br>> in the account that was OK in the first, but not in the second case.   <br>> I'm hoping that might give a better hint where to look in the code.<br>><br>> Also, just for info, are you using aqbanking ofx or the libofx version?<br>><br>><br>> Jack<br>><br><div><br></div><div>Success!  If I unmap both of the credit cards on the same bank before I try and map either of them then I can successfully map both of them.</div><div><br></div><div> I had both of the cards mapped with 4.7.2,  When I read that   .kmy file into the kmymoney 5.0.1 I found that all of my accounts that were mapped for online did not have the update option available (but the unmap option was available).  The only accounts I had trouble fixing (unmap and then remap for online) were the ones that were multiple cards with the same bank.  If had had unmapped all of the accounts first then I would not have had any problems.  <br></div><div><br></div><div>I am not using aqbanking, I select the ofximporter option.  I cannot tell where it is getting the ofx code from, because when I look at the installed packages that have ofx anywhere in their name or description I only see libaqofxconnect7.  <br></div><div><br></div><div>Jeff<br></div></div>