-
Notifications
You must be signed in to change notification settings - Fork 194
Questionnaire: deletion area (Recycle bin) for deleted/orphaned questions #401
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
base: MOODLE_404_STABLE
Are you sure you want to change the base?
Questionnaire: deletion area (Recycle bin) for deleted/orphaned questions #401
Conversation
I apologize for the long delay in responding to this. This is an interesting idea. Does this utilize any of the core recycle bin functions? |
No, it doesn't. We are using the cron task functions to delete the question at the moment. |
5590d50
to
a5d3e3c
Compare
0735b93
to
a2c6142
Compare
This commit is rebased with MOODLE_401_STABLE |
Hi. This needs another rebasing, and conflict resolution. |
I have just rebased with MOODLE_401_STABLE |
6253d1a
to
3309603
Compare
Sorry. The latest branch is the MOODLE_404_STABLE branch. This needs to be rebased against it. I am still trying to understand this. Is the goal to remove questions entirely from the database? In which case, I am not sure that a question that has been flagged as deleted can currently ever be recovered. It may make more sense to simply remove the question at deletion time. Unless there is somewhere that a question can be recovered? |
3cadb7b
to
c36b66c
Compare
I still need to understand the workflow of this feature. At present, as far as I know, when a question is deleted, there is no way to actually recover it. It just gets tagged as deleted. Since there is no way to recover it, perhaps it should just be removed from the database at that time. Unless this feature is actually adding a function to recover it? |
Hi @mchurchward , I would like to share the ideal workflow for this request as below:
Note: The permanent deletion depends on the system’s cron job running as scheduled. Users should pay attention to the "Time of permanent deletion" label if they want to recover a question before it is lost. If you want us to explain more details note with some images/icons please let us know. |
Thanks for your workflow description. Does this change implement that entire workflow? Or is this intended to be one part of it? |
@mchurchward yes this change implement that entire workflow. |
Okay, great. I will review this in its entirety. |
@mchurchward I have just updated the version. Please review it. Thank you. |
We have to create a new feature the deletion question in mod questionnaire.
Please review this commit and inform for any issues.
Thanks.