moodle/mod
David Mudrák 395bca32a1 MDL-64862 workshop: Fix grades to pass editing
There was a bug here that had not exposed until MDL-60820 introduced the
call $mform->setDefault() at the bottom of the definition_after_data()
method. That call triggers the 'updateValue' event on all form elements.
For input text elements, this effectively sets their value to the
default one, which was empty in this case due to the way how the value
had been set.

The solution here is to set the value via the same way like the normal
set_data() method does it.

The attached Behat test reproduces the problem and makes sure the patch
works.
2019-02-18 14:40:02 +01:00
..
assign MDL-64377 assign: Behat test fix 2019-02-07 09:33:52 +08:00
assignment MDL-63276 upgrade: clean < 3.2.0 upgrade steps 2019-01-03 01:17:17 +01:00
book MDL-60384 mod_book: Add a label to highlight the previous chapter 2019-02-11 11:16:39 +01:00
chat MDL-63276 upgrade: clean < 3.2.0 upgrade steps 2019-01-03 01:17:17 +01:00
choice MDL-63276 upgrade: clean < 3.2.0 upgrade steps 2019-01-03 01:17:17 +01:00
data MDL-62893 mod: Grade visibility bug in the Outline/Complete reports 2019-02-05 20:01:32 +10:30
feedback MDL-62514 behat: Rewrite handling of autocomplete 2019-01-30 08:24:32 +08:00
folder MDL-47247 mod_folder: Apply site config when showexpanded is not set 2019-01-29 08:58:14 +08:00
forum Merge branch 'MDL-63892-master-rework' of git://github.com/mickhawkins/moodle 2019-02-13 21:01:32 +08:00
glossary MDL-62893 mod: Grade visibility bug in the Outline/Complete reports 2019-02-05 20:01:32 +10:30
imscp MDL-63276 upgrade: clean < 3.2.0 upgrade steps 2019-01-03 01:17:17 +01:00
label MDL-63276 upgrade: clean < 3.2.0 upgrade steps 2019-01-03 01:17:17 +01:00
lesson Merge branch 'MDL-64238-master' of git://github.com/peterRd/moodle 2019-02-11 23:56:44 +01:00
lti MDL-64730 LTI Adv: do not ignore 0 score 2019-01-30 16:18:22 -05:00
page MDL-63276 upgrade: clean < 3.2.0 upgrade steps 2019-01-03 01:17:17 +01:00
quiz Merge branch 'MDL-64238-master' of git://github.com/peterRd/moodle 2019-02-11 23:56:44 +01:00
resource Merge branch 'MDL-63958-master' of git://github.com/jleyva/moodle 2019-01-21 15:17:53 +01:00
scorm Merge branch 'MDL-63148-master' of git://github.com/peterRd/moodle 2019-02-06 13:28:21 +01:00
survey MDL-63276 upgrade: clean < 3.2.0 upgrade steps 2019-01-03 01:17:17 +01:00
url MDL-63276 upgrade: clean < 3.2.0 upgrade steps 2019-01-03 01:17:17 +01:00
wiki MDL-63628 accessibility: Trigger file links with keyboard 2019-01-22 08:39:49 +08:00
workshop MDL-64862 workshop: Fix grades to pass editing 2019-02-18 14:40:02 +01:00
index.html
README.txt
upgrade.txt Merge branch 'MDL-53297-master' of git://github.com/cescobedo/moodle 2018-08-07 15:57:00 +02:00

ACTIVITY MODULES
----------------

These are main modules in Moodle, allowing various activities.


Each of these modules contains a number of expected components:

  mod_form.php: a form to setup/update a module instance

  version.php: defines some meta-info and provides upgrading code

  pix/icon.gif: a 16x16 icon for the module

  db/install.xml: an SQL dump of all the required db tables and data

  index.php: a page to list all instances in a course

  view.php: a page to view a particular instance

  lib.php: any/all functions defined by the module should be in here.
         constants should be defined using MODULENAME_xxxxxx
         functions should be defined using modulename_xxxxxx

         There are a number of standard functions:

         modulename_add_instance()
         modulename_update_instance()
         modulename_delete_instance()

         modulename_user_complete()
         modulename_user_outline()

         modulename_cron()

         modulename_print_recent_activity()


If you are a developer and interested in developing new Modules see:

   Moodle Documentation:  http://moodle.org/doc
   Moodle Community:      http://moodle.org/community