Skip to content

Error in external id parsing #96

Closed
Closed

Description

@petaak

If I have a bank transaction with external ID in the format "ext:e810294f-ab67-4cb0-89bf-aeadd0fb94d2", I'm getting an error.

Code:

$abraFlexiBanka = new \AbraFlexi\Banka($id, $this->connectionOptions->toArray());
$abraFlexiBanka->loadFromAbraFlexi();

Error:

ErrorException: Undefined array key 2 in /var/www/html/vendor/spojenet/flexibee/src/AbraFlexi/Relation.php:112

It seems you expect the external ID to have at least two prefixes, for example ext:myApp:e810294f-ab67-4cb0-89bf-aeadd0fb94d2. But the external ID does not necessarily have to be in that format.

Activity

  1. self-assigned this
    on Mar 21, 2026
  2. added
    bug
    on Mar 21, 2026
  3. Vitexus commented on Mar 21, 2026

    @Vitexus
    Collaborator

    @petaak Thank you for report. It would be fixed.

  4. added theissue type on Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions