-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing field Fhp\Segment\SAL\HISALv7.buchungszeitpunkt #304
Comments
Short Update. |
Short Update. |
Sure, shall I use the current state or do you have something to add? |
I don't have any outstanding commits on my side and I couldn't find any open issues that would block a release. There is an open draft pull request that would add a new feature, but that can always be added in a subsequent (non-breaking) release. Also there's a bunch of open issues that can be closed, I had commented under them a couple months back, but I don't have permissions to close them myself. |
Hi, thanks for the quick response. For Raiffeisenbank and DKB its now working fine. Uncaught InvalidArgumentException: Missing field Fhp\Segment\SAL\HISALv7.kontoverbindungInternational in D:\workspace\openui5.hunzlifuz.de\vendor\nemiah\php-fints\lib\Fhp\Syntax\Parser.php:322\nStack trace:\n#0 D:\workspace\openui5.hunzlifuz.de\vendor\nemiah\php-fints\lib\Fhp\Syntax\Parser.php(438): Fhp\Syntax\Parser::parseSegment('HISAL:4:7:3++no...', 'Fhp\\Segment\\SAL...')\n#1 [internal function]: Fhp\Syntax\Parser::detectAndParseSegment('HISAL:4:7:3++no...')\n#2 D:\workspace\openui5.hunzlifuz.de\vendor\nemiah\php-fints\lib\Fhp\Syntax\Parser.php(455): array_map(Array, Array)\n#3 D:\workspace\openui5.hunzlifuz.de\vendor\nemiah\php-fints\lib\Fhp\Protocol\Message.php(319): Fhp\Syntax\Parser::parseSegments(Array)\n#4 D:\workspace\openui5.hunzlifuz.de\vendor\nemiah\php-fints\lib\Fhp\FinTs.php(851): Fhp\Protocol\Message::parse('HNHBK:1:3+00000...')\n#5 D:\workspace\openui5.hunzlifuz.de\vendor\nemiah\php-fints\lib\Fhp\FinTs.php(306): Fhp\FinTs->sendMessage(Object(Fhp\Protocol\Message))\n#6 D:\workspace\openui5.hunzlifuz. in D:\workspace\openui5.hunzlifuz.de\vendor\nemiah\php-fints\lib\Fhp\FinTs.php |
For my testing i downloaded the dev-master via composer |
Oh okay, that's another, more subtle bug. As can be seen from your error message, the |
… all subfields are optional Not sure if a similar fix is necessary for the DEG parsing function, though probably not because DEG field delimiters need to be present even for empty subfields for the indices of subsequent fields to match. So probably the existing $allowEmpy logic in the DEG parsing function handles the same case there, and thus this fix is only necessary on the segment level.
I hope the attached file contains the relevant information for you. |
Hi,
i don't know if i am doing anything wrong but if I just want to test the samples I am getting an error when I want do download the saldo of my account.
Everything else works fine but the saldo always returns with error.
I am using the latest version and testet the old sample-File "saldo.php" with my banking credentials. I testet it with two different banks (Raiffeisenbank Bayern Mitte 72160818 and DKB 12030000) with the same result.
Also with the FinTsNew and the new approach in SamplesNew i get this error.
Uncaught InvalidArgumentException: Missing field Fhp\Segment\SAL\HISALv7.buchungszeitpunkt in \FinTS\vendor\nemiah\php-fints\lib\Fhp\Syntax\Parser.php:322 Stack trace: #0 \FinTS\vendor\nemiah\php-fints\lib\Fhp\Syntax\Parser.php(438): Fhp\Syntax\Parser::parseSegment('HISAL:5:7:3+DE6...', 'Fhp\Segment\SAL...') #1 [internal function]: Fhp\Syntax\Parser::detectAndParseSegment('HISAL:5:7:3+DE6...') #2 \FinTS\vendor\nemiah\php-fints\lib\Fhp\Syntax\Parser.php(455): array_map(Array, Array) #3 \FinTS\vendor\nemiah\php-fints\lib\Fhp\Protocol\Message.php(319): Fhp\Syntax\Parser::parseSegments(Array) #4 \FinTS\vendor\nemiah\php-fints\lib\Fhp\FinTsNew.php(875): Fhp\Protocol\Message::parse('HNHBK:1:3+00000...') #5 \FinTS\vendor\nemiah\php-fints\lib\Fhp\FinTsNew.php(339): Fhp\FinTsNew->sendMessage(Object(Fhp\Protocol\Message)) #6 \FinTS\vendor\nemiah\php-fints\lib\Fhp\FinTsNew.php(298): Fhp\FinTsNew->sendRequestForAction(Object(Fhp\Action\ in \FinTS\vendor\nemiah\php-fints\lib\Fhp\FinTsNew.php on line 877
The text was updated successfully, but these errors were encountered: