Ticket #6683 (closed defect: duplicate)
notebook worksheet rating_info link leads to error page
| Reported by: | khorton | Owned by: | wstein |
|---|---|---|---|
| Priority: | minor | Milestone: | sage-duplicate/invalid/wontfix |
| Component: | notebook | Keywords: | notebook worksheet rating_info error |
| Cc: | Work issues: | ||
| Report Upstream: | N/A | Reviewers: | |
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
Clicking on a rating_info link in a list of notebook worksheets produces a blank page titled "Error | Sage Notebook".
Diagnosis and suggested solution found in this thread on sage-support.
Attachments
Change History
comment:1 Changed 4 years ago by NoSyu
In the Worksheet_rating_info and Worksheet_rate class in server/notebook/twist.py, it return the HTMLResponse that argument is stream and all return stream use message function. But message function in twist.py is used for error page to use error_message.html templete file. Unless the return is not error page, it use message function. So it always show the error page titled "Error | Sage Notebook".
Note: See
TracTickets for help on using
tickets.


Delete message in Worksheet_rating_info and Worksheet_rate class from Sage 4.1 original source file server/notebook/twist.py