You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Vladyslav Samchenko (Jira)" <ji...@apache.org> on 2026/10/14 10:39:00 UTC

[jira] [Created] (FINERACT-2948) GET /glaccounts returns HTTP 500 when searchParam is supplied, and reports a bogus tagId for untagged accounts

Vladyslav Samchenko created FINERACT-2948:
---------------------------------------------

             Summary: GET /glaccounts returns HTTP 500 when searchParam is supplied, and reports a bogus tagId for untagged accounts
                 Key: FINERACT-2948
                 URL: https://issues.apache.org/jira/browse/FINERACT-2948
             Project: Apache Fineract
          Issue Type: Bug
            Reporter: Vladyslav Samchenko
            Assignee: Vladyslav Samchenko


The `GET /fineract-provider/api/v1/glaccounts` endpoint has two defects, both located in `GLAccountReadPlatformServiceImpl`:

1. Supplying the `searchParam` query parameter causes the request to fail with HTTP 500 because the generated SQL is invalid.
2. GL accounts without a tag are returned with a meaningless `\{"tagId": {"id": 0}}` object instead of having no tag.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)