-
-
Notifications
You must be signed in to change notification settings - Fork 163
Open
Labels
has-workaroundIssue has a workaround and may or may not be closed immediatelyIssue has a workaround and may or may not be closed immediately
Description
Version
1.12
What browsers are you seeing the problem on?
This problem isn't browser related
What happened?
- Go to Cash / Reconciliation
- Create a new Reconciliation report
- Select all the outstanding transactions
- in
Bank transactions uploadselect an OFX file - in
Upload file formatchoose OFX - click on
Update - I get the error
Can't call method "transactions" on an undefined value at lib/LedgerSMB/Reconciliation/Parser/OFX.pm line 31.
What should have happened?
I'm not really sure what should happen as I've never successfully imported an OFX file, but it should at least correctly parse the OFX file.
It's a long time since I used to import OFX files to Quicken and GnuCash, but iirc the banks often play fast and loose with the OFX format. However, this bank is by some metrics in the top ten largest banks in the world, and LSMB should be able to handle it.
The first thing that comes to my mind is that the file is not well-formatted XML, though I don't think I've ever encountered an OFX file that was. In any case, there are ten lines of text before the <OFX> tag:
OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:TYPE1
ENCODING:USASCII
CHARSET:1252
COMPRESSION:NONE
OLDFILEUID:NONE
NEWFILEUID:NONE
<OFX>
Metadata
Metadata
Assignees
Labels
has-workaroundIssue has a workaround and may or may not be closed immediatelyIssue has a workaround and may or may not be closed immediately