[ 
https://issues.apache.org/jira/browse/FINERACT-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam Saghy reassigned FINERACT-2607:
------------------------------------

    Assignee: Hysnije  (was: Adam Saghy)

> Statuses are never returned on the /audits/searchtemplate endpoints
> -------------------------------------------------------------------
>
>                 Key: FINERACT-2607
>                 URL: https://issues.apache.org/jira/browse/FINERACT-2607
>             Project: Apache Fineract
>          Issue Type: Bug
>         Environment: Demo
>            Reporter: Hysnije
>            Assignee: Hysnije
>            Priority: Major
>             Fix For: 1.15.0
>
>         Attachments: image-2026-05-15-10-31-54-598.png
>
>
> Statuses on {{audits/searchtemplate}} endpoint are retrieved from the 
> r_enum_value table 
> [https://github.com/apache/fineract/blob/develop/fineract-provider/src/main/java/org/apache/fineract/commands/service/AuditReadPlatformServiceImpl.java#L504]
>  but this table never persists values for "status" enum, hence statuses are 
> never returned
> !image-2026-05-15-10-31-54-598.png!
>  
> -They were persisted on old migration files 
> [https://github.com/apache/fineract/blob/develop/fineract-db/old-schema-files/0002-mifosx-base-reference-data-utf8.sql#L50-L55]
>  but not on new ones.-
> I found that the issue was because wrong enum was used on the query to read 
> the statuses.



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

Reply via email to