You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The bug happened when I tried to access the BANKACCTFROM.ACCTT property, which has the value undefined. After checking some OFX files, I realized the <ACCTT> tag is missing, but the <ACCTTYPE> tag is there. I also checked OFX Banking Specification v2.3.pdf, where there is a reference to the last tag mentioned, which can be found on page 602.
However, I can't say whether the <ACCTT> tag really isn't in any other specification, as I haven't checked all the others. But I can certainly say that the new specification provides for the <ACCTTYPE> tag.
To Reproduce
The issue occurs after I instantiate the Ofx class with a file content in OFX that has the respective <ACCTTYPE> tag, then call the .getContent() method on the instance, and finally access the BANKACCTFROM.ACCTT property which gives undefined, either its interface does not have ACCTTYPE as property.
Another way to reproduce the error is to add the following test to the ofx.espec.ts file:
And then type npm run test. As the example.ofx is used as the ofx file parsed by the method and its tag <ACCTTYPE> has the following content: CHECKING.
Expected behavior
What is expected is that the BANKACCTFROM interface provides access to the ACCTTYPE property and its contents.
Screenshots
Desktop:
OS: Fedora Linux 40 (Workstation Edition) | Kernel Version: Linux 6.11.10-200.fc40.x86_64
Browser Chrome
Version chrome(131.0.6778.85 (Official Build) (64-bit))
Additional context
It seems to me that the ACTT property was a typo, but I'm not sure, however I believe that support for the ACTTYPE property should be present, considering that every property has its corresponding tag with exactly its name.
The text was updated successfully, but these errors were encountered:
Describe the bug
The bug happened when I tried to access the
BANKACCTFROM.ACCTT
property, which has the valueundefined
. After checking some OFX files, I realized the<ACCTT>
tag is missing, but the<ACCTTYPE>
tag is there. I also checked OFX Banking Specification v2.3.pdf, where there is a reference to the last tag mentioned, which can be found on page 602.However, I can't say whether the
<ACCTT>
tag really isn't in any other specification, as I haven't checked all the others. But I can certainly say that the new specification provides for the<ACCTTYPE>
tag.To Reproduce
The issue occurs after I instantiate the
Ofx
class with a file content in OFX that has the respective<ACCTTYPE>
tag, then call the.getContent()
method on the instance, and finally access theBANKACCTFROM.ACCTT
property which givesundefined
, either its interface does not haveACCTTYPE
as property.Another way to reproduce the error is to add the following test to the
ofx.espec.ts
file:And then type
npm run test
. As theexample.ofx
is used as the ofx file parsed by the method and its tag<ACCTTYPE>
has the following content:CHECKING
.Expected behavior
What is expected is that the
BANKACCTFROM
interface provides access to theACCTTYPE
property and its contents.Screenshots
Desktop:
Additional context
It seems to me that the
ACTT
property was a typo, but I'm not sure, however I believe that support for theACTTYPE
property should be present, considering that every property has its corresponding tag with exactly its name.The text was updated successfully, but these errors were encountered: