Skip to content

Make error message for nonexistent published page more informative #6069

@sagetrac-khorton

Description

@sagetrac-khorton

If someone attempts to access a URL for a published worksheet that no longer exists (perhaps because the URL changed when the worksheet went through a published to unpublished to published cycle), or the URL was mistyped, they get a blank page titled "Error | Sage Notebook", with no hint on what to do to resolve the problem.

If they are trying to access a published worksheet that cannot be found, it is probably useful to redirect to the page with the list of published worksheets, perhaps after showing an error message like "There is no worksheet currently available at this URL. You will be redirected to the index of published worksheets in 15 seconds."

This may be related to ticket 5988:

#5988

CC: @sagetrac-acleone @robert-marik

Component: notebook

Author: Tim Dumol, Mitesh Patel

Reviewer: Tim Dumol, Mitesh Patel

Merged: sagenb-0.8

Issue created by migration from https://trac.sagemath.org/ticket/6069

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions