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)

Reply via email to