-
Bug
-
Resolution: Fixed
-
Major
-
3.2.1, 3.3, 3.3.3, 3.4.1, 3.5
-
MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
-
MOODLE_33_STABLE, MOODLE_34_STABLE
-
MDL-57786-master -
Steps to reproduce:
1. Create Online text assignment
2. Submit a sufficiently long submission (over 20 words)
3. View submission summary on student or teacher side (notice that the word count displayed is higher than the actual text submission word count)
This can cause confusion for the student and teacher: If a teacher sets a 100 word limit and a student submits exactly 100 words, the extra words counted on the summary count can make the student and teacher think that the submission is over 100 words.
This appears to be caused by the dropdown and 'export to portfolio' button below the text being counted as words in the count_words function call. This call is in moodle/mod/assign/submission/onlinetext/locallib.php on line 368 of MOODLE_32_STABLE on January 26th, 2017.
Possible solutions:
- Exclude the dropdown and 'export to portfolio' button from the word count
- Bring the dropdown and 'export to portfolio' button out of the summary area, making them always visible.
- Testing discovered
-
MDL-61168 "Export to portfolio" link gets truncated for long online text submissions
-
- Closed
-