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

Petri Tuomola resolved FINERACT-1380.
-------------------------------------
    Fix Version/s:     (was: 1.5.0)
                   1.6.0
       Resolution: Fixed

> multiple field missing in GetSavingsTimeline generated class
> ------------------------------------------------------------
>
>                 Key: FINERACT-1380
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1380
>             Project: Apache Fineract
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Danish Jamal
>            Assignee: Danish Jamal
>            Priority: Major
>              Labels: gsoc2021, savings, swagger
>             Fix For: 1.6.0
>
>
> "GetSavingsTimeline" generated class only defines the "submittedOnDate" 
> field, but the backend returns many more fields which is causing the data 
> loss. Check out below snippets for comparison.
>  
> {code:java}
> // GetSavingsTimeline
> public static final String SERIALIZED_NAME_SUBMITTED_ON_DATE = 
> "submittedOnDate";
> @SerializedName("submittedOnDate")
> private Date submittedOnDate;{code}
>  
> {code:java}
> // actual json response
> "timeline": {
>     "submittedOnDate": [
>       2021,
>       3,
>       20
>     ],
>     "submittedByUsername": "mifos",
>     "submittedByFirstname": "App",
>     "submittedByLastname": "Administrator",
>     "approvedOnDate": [
>       2021,
>       8,
>       11
>     ],
>     "approvedByUsername": "mifos",
>     "approvedByFirstname": "App",
>     "approvedByLastname": "Administrator",
>     "activatedOnDate": [
>       2021,
>       8,
>       12
>     ],
>     "activatedByUsername": "mifos",
>     "activatedByFirstname": "App",
>     "activatedByLastname": "Administrator"
>   }
> {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to