learnweb / moodle-mod_collabora

:memo: :globe_with_meridians: An activity for live document editing in Moodle, powered by Collabora Online
GNU General Public License v3.0
8 stars 8 forks source link

mod_collabora: Can not update instance if format is upload #13

Closed grabs closed 4 years ago

grabs commented 4 years ago

Hi, if the format of an instance is upload you can not update the instance. This is because the validation in mod_form.php fails. Since all critical values are frozen, the validation for these values can be omitted. So in the validation method I added a check whether or not we have an instance. Best regards Andreas