-
-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make error message for nonexistent published page more informative #6069
Comments
Attachment: trac_6069-missing-published-worksheet.patch.gz This says that "There is no published worksheet with name '%s'" instead. |
comment:2
I think the previous message "The user 'pub' has no worksheet '%s'" was a bit confusing, but it does work. Feel free to ignore the patch and close this. |
Author: Tim Dumol |
Redirect to |
comment:3
Attachment: trac_6069-missing_pub_ws.2.patch.gz V2 is an attempt to set up redirection. It should also ensure for Feel free to make changes. |
Better titles for non-Error pages. Apply only this patch. |
comment:5
Attachment: trac_6069-missing_pub_ws.3.patch.gz V3 should
|
Changed author from Tim Dumol to Tim Dumol, Mitesh Patel |
comment:7
Patel's changes look great. Anyone mind signing off mine? |
Reviewer: Tim Dumol, Mitesh Patel |
comment:9
(I'm not changing any notebook code in Sage 4.4.) |
Merged: sagenb-0.8 |
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
The text was updated successfully, but these errors were encountered: