-
Notifications
You must be signed in to change notification settings - Fork 27
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
Keep seriesmapping records when deleting a block (configurable) #352
Conversation
Hey @ferishili, |
Hi @NinaHerrmann, |
Even better would be a warning which enables the user to choose between deleting the videos, canceling, and keeping the videos in opencast. |
@justusdieckmann could you please check if there is no option to change the moodle standard message when deleting blocks? |
I am not sure if Moodle offers such a thing! If that is possible that would be an ultimate solution to that 👍 |
And BTW the failed behats are excatly because of different ways of displaying that confirmation dialogue in moodle < 4.0 Are we still supporting moodle < 4.0? Is there a plan to discontinue the support of moodle 3.x versions? |
By the way I think has behat is a very nice label 😂 |
I don't see a point in testing everything that will be outdated on 13.12. I think you have the permissions to remove it from the ci-script right? It would be helpful if you could change that! :) |
I will be checking and get that done tonight. |
Good point! I agree - and we can definitely announce it at the next Meeting 👍 |
Hi @NinaHerrmann, |
Thanks for lifting the support - personally I am not a fan of committing changes to the master without changing anything but support - but to be honest it doesn't harm anyone. Justus Dieckmann is currently unavailable so the pull request will be checked as soon as he is available :) |
Hi @NinaHerrmann, @justusdieckmann, Thanks |
Hey @ferishili |
I am seeing some possibility to make it work the way we want, so, please give me a few days to provide a proof of concept. |
Also, your findings and justification would help me a lot. I would be very happy to have a short meeting to discuss this. Thanks in advance |
Sure, we found a way to have an additional page after submitting the first Pop-up. However, it is not standard Moodle behavior, which is not my favorite implementation. Is that the same proof of concept you are planning? |
The way I managed to find seems to be a standard way, let make a draft and then I will propose |
Thank you very much for your work, a standard way would be amazing 🥰 |
Hi @NinaHerrmann, hi @mwuttke, Thanks in advance |
Close as completed in #355 |
This PR fixes #351
Description
please refer to the related issue #351
Important to know
seresmapping
record upon deleting a block is correct but not enough.How it works
General settings > Settings for a block instance
a new setting option is introducedKeep serie mapping after deleting the block
which toggles this feature.How to test
What needs to be done in near future
The proper way to do is to have a back-up table that records the deleted courses and series mapping and get the record back when re-adding the block. In this way, you have a separate table and the performance won't be compromised.
NOTE: behat test scenario is included