moodle/mod/feedback/classes
Jake Dallimore c96c9601af MDL-62947 mod_feedback: fix feedback so it correctly uses forms API
Feedback code was doing the following, which is incompatible with the
sec-patched quickforms lib:
- appending '[0]' to non-group element names, meaning type checks in
getCleanType() were falling back to PARAM_RAW instead of PARAM_INT,
and meaning _findValue() was comparing elements it thought to be arrays
with scalar submit values (worked with eval() implementation as the 0th
element of a string was the character, but not working when patched).
- external unit tests incorrectly testing multichoice questions in the
process_page tests - patched lib highlighted failures.

It was also doing the following:
- actively setting null as default element values instead of 0 for
radio buttons and dropdowns (for 'not selected'). This is incompatible
with more recent quickforms lib (see MDL-63070).
- creating groups using addElement instead of addGroup - not recommended

This patch addresses the above.
2018-09-05 12:12:20 +08:00
..
analytics/indicator MDL-59256 analytics: Respect activities specific access conditions 2017-11-07 08:14:53 +01:00
event MDL-53638 mod_feedback: convert to moodleforms 2016-04-27 13:28:43 +08:00
external MDL-57813 mod_feedback: Create exporter and required API changes 2017-04-05 09:07:43 +02:00
output MDL-53638 mod_feedback: template for summary 2016-04-27 13:28:45 +08:00
privacy MDL-61862 mod_feedback: Tweak query to support UNION on TEXT fields 2018-04-17 11:35:55 +08:00
search MDL-59459 Golbal Search: Increase file indexing coverage 2017-09-02 10:28:17 +10:00
complete_form.php MDL-62947 mod_feedback: fix feedback so it correctly uses forms API 2018-09-05 12:12:20 +08:00
completion.php MDL-58523 mod_feedback: deleting response should reset completion 2017-06-13 14:35:08 +08:00
course_map_form.php MDL-53957 form: Support frontpage for selection in course element 2016-05-06 09:27:31 +08:00
course_select_form.php MDL-53638 mod_feedback: download responses 2016-04-27 16:04:40 +08:00
external.php MDL-60578 mod_feedback: Handle correctly site feedbacks 2018-09-04 14:18:41 +02:00
observer.php MDL-53292 core: deprecate callback delete_course 2016-06-13 10:48:06 +08:00
responses_anon_table.php MDL-57821 mod_feedback: Allow export tables to external structure 2017-04-04 12:01:22 +02:00
responses_table.php MDL-61290 mod_feedback: adding groups to csv download 2018-07-31 15:32:43 +01:00
structure.php MDL-58665 mod_feedback: avoid extra db queries on dashboard 2017-05-01 12:57:19 +08:00
templates_table.php MDL-53638 mod_feedback: JS confirmation on delete entry and template 2016-04-27 16:04:43 +08:00