Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#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: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

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 (1)

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

Download all attachments as: .zip

Change History (4)

Changed 12 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 12 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 11 years ago by timdumol

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

This has already been fixed in #7786.

comment:3 Changed 11 years ago by mvngu

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