Moodle

wiki: error message too small (not noticeable) when upload file exceed file size limit (usability)

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.6, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.7, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.9
  • Fix Version/s: None
  • Component/s: Usability, Wiki (1.x)
  • Labels:
    None
  • Affected Branches:
    MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

Description

When I was trouble-shotting the "wiki binary file option broken" ticket (MDL-10641) I found another issue which can be improved. When you try to insert an image in your wiki page and upload a file using the HTML editor, if you try to upload a larger image file over 10240 bytes, the file manager will prompt you that "Sorry, but that file is too big (limit is 10240 bytes, about 10k). However, this message is so small that it is not noticeable by the user and a lot of users would get confused.

Suggestion:

1. Maybe consider display the error/warning message outside of the File Browser window, or at least make it red color.

2. The file size limit should be flexible and there should be an option for this in wiki.

Just curious, what's the plan for ewiki now? Is it official that for moodle 2.0 we will be switching to nwiki? Thanks!

Issue Links

Activity

Hide
Laia Subirats added a comment -

Here is a patch to make the error message red.
By the way, for this message to appear, the upload size (at most configmaxbytes) should be no larger than post_max_size (maximum HTTP post size as defined in Apache PHP settings), otherwise Moodle will not receive the post and no error message will be displayed. I think both values default to the same (16M), so this is confusing.

Show
Laia Subirats added a comment - Here is a patch to make the error message red. By the way, for this message to appear, the upload size (at most configmaxbytes) should be no larger than post_max_size (maximum HTTP post size as defined in Apache PHP settings), otherwise Moodle will not receive the post and no error message will be displayed. I think both values default to the same (16M), so this is confusing.
Hide
Anthony Borrow added a comment -

Laia - I would be interested to know the various places within Moodle where there is an option to upload files. I would expect each of them to use the same interface. I would be interested to know why the wiki is using something different. Could you research that and report back what you find. Peace - Anthony

Show
Anthony Borrow added a comment - Laia - I would be interested to know the various places within Moodle where there is an option to upload files. I would expect each of them to use the same interface. I would be interested to know why the wiki is using something different. Could you research that and report back what you find. Peace - Anthony
Hide
Anthony Borrow added a comment -

p.s. - changing the color is more of a theme issue

Show
Anthony Borrow added a comment - p.s. - changing the color is more of a theme issue
Hide
Laia Subirats added a comment -

Anthony - Here is the report with some screenshots about several places where you could upload files, a classification, and a conclusion after this clasification which is:

Ideally it should be only two types of uploading files:

  • The simple one: that would be applicable to Files, Frontpage Site Files, Import, Frontpage Questions and Upload users / upload user pictures. This interface would contain:
    o An indication of the max size with a help question
    o Browse
    o Upload
    o Cancel
    o [Other information depending on the type of upload file]
  • The detailed one: that would be applicable to wiki pages and other activities and resources (should not be changed)
Show
Laia Subirats added a comment - Anthony - Here is the report with some screenshots about several places where you could upload files, a classification, and a conclusion after this clasification which is: Ideally it should be only two types of uploading files:
  • The simple one: that would be applicable to Files, Frontpage Site Files, Import, Frontpage Questions and Upload users / upload user pictures. This interface would contain: o An indication of the max size with a help question o Browse o Upload o Cancel o [Other information depending on the type of upload file]
  • The detailed one: that would be applicable to wiki pages and other activities and resources (should not be changed)
Hide
Laia Subirats added a comment -

Here is the link http://docs.moodle.org/en/Student_projects/Usability_issues/Upload with the screenshots, the classification and the conclusion.

Show
Laia Subirats added a comment - Here is the link http://docs.moodle.org/en/Student_projects/Usability_issues/Upload with the screenshots, the classification and the conclusion.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: