modedit.php completion unavailable checkboxes

modedit.php completion unavailable checkboxes

by Robert Schrenk -
Number of replies: 1
Picture of Core developers Picture of Plugin developers

Hello,

I hope that this is the correct forum to post this, but I am not sure if my problem is a bug or if something else went wrong.

We are using the condition-feature very often and everything worked fine, but suddenly when editing or creating an activity not all available condition-checkboxes are enabled when selecting "automatic completion". Some of them do, others not. And the weirdest on all this is, that this depends on the type of module.

I attached 4 types of modules and marked the checkboxes that are not getting enabled: book, external tool, forum and h5p. Only with h5p all condition-options are enabled.

With the external tool it is obvious that we were able to select the automatic completion before, but now I can not edit it anymore.

My attempts to solve the problem included the following steps:

  • Tried another browser
  • Removed any plugins that were added recently
  • Switched to another theme (were are using boost_campus and I tried boost)
  • Checked for errors in sys logs
No influence.

Does anybody have an idea?

Kind regards
Robert
Attachment form_book.png
Attachment form_external_tool.png
Attachment form_forum.png
Attachment form_h5p.png
Average of ratings: -
In reply to Robert Schrenk

Re: modedit.php completion unavailable checkboxes

by Robert Schrenk -
Picture of Core developers Picture of Plugin developers
Hi,

we figured out that when we activate the expected completion date all checkboxes are getting enabled. We can then store the completion settings, edit the module again and remove the completion date. This does not make sense.

Is there a wrong condition in the form validation?

Kind regards