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

Client accounts API shows multiple entries for same share account

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Shares
    • Labels:
      None

      Description

      Steps to reproduce:
      For a given client,
      Create a share account
      Approve the account
      Activate the account
      Using a REST client, reject the account

      Now we have an account for which activated_userid and rejected_userid are both set. Now try the API
      /clients/:clientId/accounts

      This yields multiple records for the share account we created. This is an issue with the SQL query for fetching the share account list for a client.

        Attachments

        1. dup-accts.jpg
          146 kB
          Terence Monteiro

          Issue Links

            Activity

              People

              • Assignee:
                subramanya@confluxtechnologies.com subramanyasn
                Reporter:
                terencemo Terence Monteiro
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: