mifos-mobile
mifos-mobile copied to clipboard
Withdraw pending savings account not working
Summary:
The "withdraw savings account" feature is not working and shows "HTTP 405 Method Not Allowed". There were minor issues with the current implementation but even after fixing them, the same error comes whenever withdrawing of a pending savings account is performed.
Steps to reproduce:
- Go to Accounts -> SavingsAccount tab
- Select any pending account.
- Select Withdraw Savings from the menu and submit the withdrawal request
Expected behaviour:
The selected pending account should have been withdrawn
Observed behaviour:
"HTTP 405 Method Not Allowed" error comes
Screenshots:

@therajanmaurya @luckyman20 can you please help me with this issue? The application's implementation code seems fine to me
@devansh-299 I tried reproducing the issue but, works fine for me no issues! Have you try the same without creating a new Thread, that is by subscribing on the Schedulers.io rather than on Schedulers.newThread()?
@devansh-299 I tried reproducing the issue but, works fine for me no issues! Have you try the same without creating a new Thread, that is by subscribing on the Schedulers.io rather than on Schedulers.newThread()?
@rutvik-panchal Actually, the result has been hardcoded to give "Saving Account Withdrawn Successfully", see method on line 148 here. On removing the hardcoded result, you will be able to reproduce the issue