Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1380

multiple field missing in GetSavingsTimeline generated class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.6.0
    • None

    Description

      "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.

       

      // GetSavingsTimeline
      
      public static final String SERIALIZED_NAME_SUBMITTED_ON_DATE = "submittedOnDate";
      @SerializedName("submittedOnDate")
      private Date submittedOnDate;

       

      // 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"
        }
      

       

       

      Attachments

        Issue Links

          Activity

            People

              danishjamal Danish Jamal
              danishjamal Danish Jamal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: