Ticket #183 (closed defect: invalid)

Opened 8 years ago

Last modified 7 years ago

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

ValueError?

Error Value

is not a html string

Change History

comment:1 Changed 8 years ago by tom

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.

comment:2 Changed 8 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 8 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 8 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

comment:5 Changed 7 years ago by tom

  • Version changed from Fort Mason 2.1.0-rc3 to Seattle 2.2.0-rc1
  • Milestone changed from 2.1.1 to 2.2.0

comment:6 Changed 7 years ago by tom

  • Status changed from new to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.