-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
2.3.2, 2.3.3, 2.4.1
-
MOODLE_23_STABLE, MOODLE_24_STABLE
-
wip-
MDL-36193-master -
Build Details: 2.3.2 (Build: 20120910)
Description:
Calendar items imported into 3rd party applications from moodle export url contain extra spaces within text body. The text is garbled and difficult to read as a result e.g. (notice extra space in "intended"
Original Text: "This conference is intended to take place while the majority of students are carrying out their primary research."
Imported Text: "This conference is intende d to take place while the majority of students are carrying out their prima ry research."
The extra spaces are added in a number of words in the description body but no obvious pattern is visible to me i.e they are not every x characters or after every line break and do not appear to be restricted to particular resource types but affect any calendar entry.
To Reproduce:
1: Login and view your moodle calendar moodle.org/calendar/view.php?view=month
2: Scroll down to "Export Calendar"
3: Export "All Events" for "Recent and next 60 days" and get the calendar URL
4: Choose a 3rd party application capable of importing calendar items and import using the calendar URL
5: Compare imported event to original event for extra spaces
Test Case
I created an assignment with a description made up of lines containing 100 numbers per line
Event in Moodle
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333
4444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444
5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555
6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666
7777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777
8888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333
4444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444
5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555
6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666
7777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777
8888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
Event After Exporting
111111111111111111111111111111111111111111111111111111111111111 111111111111111111111111111111111111122222222222222222222222222222222222222 222222222222222222222222222222222222222222222222222222222222223333333333333 333333333333333333333333333333333333333333333333333333333333333333333333333 333333333333444444444444444444444444444444444444444444444444444444444444444 444444444444444444444444444444444444455555555555555555555555555555555555555 555555555555555555555555555555555555555555555555555555555555556666666666666 666666666666666666666666666666666666666666666666666666666666666666666666666 666666666666777777777777777777777777777777777777777777777777777777777777777 777777777777777777777777777777777777788888888888888888888888888888888888888 888888888888888888888888888888888888888888888888888888888888889999999999999 999999999999999999999999999999999999999999999999999999999999999999999999999 999999999999111111111111111111111111111111111111111111111111111111111111111 111111111111111111111111111111111111122222222222222222222222222222222222222 222222222222222222222222222222222222222222222222222222222222223333333333333 333333333333333333333333333333333333333333333333333333333333333333333333333 333333333333444444444444444444444444444444444444444444444444444444444444444 444444444444444444444444444444444444455555555555555555555555555555555555555 555555555555555555555555555555555555555555555555555555555555556666666666666 666666666666666666666666666666666666666666666666666666666666666666666666666 666666666666777777777777777777777777777777777777777777777777777777777777777 777777777777777777777777777777777777788888888888888888888888888888888888888 888888888888888888888888888888888888888888888888888888888888889999999999999 999999999999999999999999999999999999999999999999999999999999999999999999999 999999999999
Notes:
When re-editing the assignment the wysiwyg view looks similar to the exported result but switching to html view in wysiwyg shows the correct html necessary to display description as required. See attached files for screenshots.
3rd Party Applications Tested & able to reproduce importation error
Google Apps Calendar
MS Outlook 2010 import calendar from Internet
Drupal CMS feeds import modules