Ticket #183 (closed defect: invalid)
Loading file to a course page via "upload contents" generates site error
| Reported by: | tom | Owned by: | brent |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.2.0 |
| Component: | General | Version: | Seattle 2.2.0-rc1 |
| Keywords: | Loading file to a course page via "upload contents" generates site error | Cc: |
Description
Loading file to a course page via "upload contents" generates this site error:
Error Type
Error Value
is not a html string
Change History
comment:2 Changed 7 years ago by tom
I can only generate the error when I use a "semi-real" path like this: ~/Desktop/TestFiles?/fake_file.html
comment:3 Changed 7 years ago by tom
Final comment: The site error only occurs when the text format of the page is set to HTML. This make me think that some kind of validation function is being called and failing because there is no file to validate.
comment:4 Changed 7 years ago by jon
- Priority changed from critical to minor
- Milestone changed from 2.1.0 to 2.1.1
Fixed the validation scripts to allow ValueError? 'is a html string' to pass through. Will address properly in the UI release. 3110
Note: See
TracTickets for help on using
tickets.

Important: I can only generate this error by adding a new page to a course. It doesn't do it if I try to edit the course homepage or other existing pages.