Comment 2 for bug 661809

Revision history for this message
Zach Sadecki (zsadecki) wrote :

I've discovered what was causing the error to happen with certain OFX files. An empty tag that should contain a date seem to be the cause.

For example, this <LEDGERBAL> entry works fine:
<LEDGERBAL>
 <BALAMT>2518.57
 <DTASOF>20101016085012[-7:MST]
</LEDGERBAL>

While this one causes the out_of_range crash:
<LEDGERBAL>
 <BALAMT>2518.57
 <DTASOF />
</LEDGERBAL>

removing the DTASOF line altogether works fine, too..