openMF / community-app

This was the former default web application built on top of the Apache Fineract platform. It's now deprecated and replaced by the the Mifos X Web App (https://github.com/openMF/web-app maintained by the Mifos Initiative as a reference solution for financial inclusion. It is a Single-Page App (SPA) written in web standard technologies.
http://openmf.github.io/community-app/
Mozilla Public License 2.0
312 stars 1.02k forks source link

Deactivate button in Manage Surveys not working properly #2913

Closed ankit01ojha closed 5 years ago

ankit01ojha commented 6 years ago

Description

The deactivate button in Manage Surveys is not working properly, rather than deleting the survey when clicked it is redirecting to view the survey.

Steps to Reproduce

Admin >> System >> Manage Surveys >> Click on deactivate on any of the surveys.

Expected Behaviour

The survey which is selected to be deleted should be removed from the list.

Actual Behaviour

When clicked it is redirecting to view the survey.

Settings

Screenshots, if any

ankit01ojha commented 6 years ago

I am working on it.

abhaychawla commented 6 years ago

Don't you think rather than deleting the survey from the list when the user deactivates it you could just make it inaccessible? In this way, the user will be able to reactivate it in case he needs the same in future rather than recreating it.

ankit01ojha commented 6 years ago

@abhaychawla yeah, I was also thinking the same :)

santoshconflux commented 6 years ago

Related issue is raised here for platform side: https://issues.apache.org/jira/browse/FINERACT-530

m-sameer commented 5 years ago

@ankit01ojha This doesn't happen to me. The survey gets deactivated and the button becomes Activate but the button doesn't activate the survey when clicked. Could explain more and give screenshots, please?

santoshconflux commented 5 years ago

@m-sameer , Did you check here? It's working fine.

https://staging.openmf.org/#/surveys (mifos/password)

If you still have doubts, ping me on Skype: santoshmath99

jonathanzhang53 commented 5 years ago

This is working fine for me.

survey

m-sameer commented 5 years ago

@santoshconflux Yeah, this is working fine. Thank you.

ankit01ojha commented 5 years ago

@santoshconflux , It is working fine for me too now. I think the issue can be closed.