Ticket #6683 (closed defect: duplicate)

Opened 4 years ago

Last modified 3 years ago

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

twist.py Download (85.3 KB) - added by NoSyu 4 years ago.
Delete message in Worksheet_rating_info and Worksheet_rate class from Sage 4.1 original source file server/notebook/twist.py

Change History

Changed 4 years ago by NoSyu

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

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".

comment:2 Changed 3 years ago by timdumol

  • Status changed from new to closed
  • Resolution set to duplicate
  • Report Upstream set to N/A

This has already been fixed in #7786.

comment:3 Changed 3 years ago by mvngu

  • Milestone changed from sage-4.3.1 to sage-duplicate/invalid/wontfix
Note: See TracTickets for help on using tickets.