Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to empty recycle bin of deleted forms #1265

Closed
Synairgis opened this issue Jan 17, 2019 · 2 comments · Fixed by #1269
Closed

Impossible to empty recycle bin of deleted forms #1265

Synairgis opened this issue Jan 17, 2019 · 2 comments · Fixed by #1269
Assignees
Labels
Milestone

Comments

@Synairgis
Copy link
Contributor

Describe the bug
If create a form and then answer your questions a couple of times, you'll start to see a list of your answers build up in the "form answer" tab. Then, if you want to subsequently delete some of the answers present, the procedure seems to be to check the ones you want and then open the "action" menu which then offers you to put them in the trashcan. The problem is that once they're there, they become completely inaccessible as there is no way to access the formcreator trashcan.

To Reproduce
Steps to reproduce the behavior:

  1. Create a form with a single question
  2. Fill your form and answer it a couple of times
  3. Go to the "Form answers tab"
  4. Select a couple of the forms you want to delete
  5. Click on the "Action" button and select "Put in trashcan"

Expected behavior
While the forms are correctly put in the trashcan, I would expect to have, like on the ticket forms, an actual icon that allow me to access said trashcan to complete the deletion process or revert it. However, since the icon is not there, then forms in the trashcan become stuck in a completely inaccessible state barring me from actually deleting any form that has answers associated with it short of manually deleting records in the database.

@btry
Copy link
Collaborator

btry commented Jan 21, 2019

Hi

I already noticed that 1 or 2 weeks ago. As there are beta versions of 2.7.0 I must wait until the version 2.8.0 to fix that: I must remove the column is_deleted from the FormAnswers table.

I think this issue should be linked to : #861

@btry btry added the bug label Jan 21, 2019
@btry btry added this to the 2.8.0 milestone Jan 21, 2019
@btry btry mentioned this issue Jan 21, 2019
2 tasks
@btry btry modified the milestones: 2.8.0, 2.7.0 Jan 21, 2019
@btry btry self-assigned this Jan 21, 2019
@btry
Copy link
Collaborator

btry commented Jan 28, 2019

Hi

as this issue is blocking form deletion with answers I think it is better to provide a fix for 2.7.0. The above PR should fix the issue.

@btry btry closed this as completed in #1269 Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant