Closed Bug 640002 Opened 13 years ago Closed 5 years ago

[kitsune] 500 Error after editing content-less article (only revision was deleted)

Categories

(support.mozillamessaging.com Graveyard :: General, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: rolandtanglao, Unassigned)

References

Details

When the only revision for an article is deleted, then a user proceeds to edit the contentless article, a Server 500 error is reported

Steps to reproduce:
1. create an article
2. delete the only revision
3. click "Edit Article" in right sidebar
RESULT:
500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

POSSIBLE WORKAROUND:
1. delete the article from the djano admin page and then re-enter it
Interesting. You should not be able to delete the only revision of a document.
oh forgot to mention, we've left the offending article in so the 500 error can be easily reproduced as follows:
1. login
2. http://stage-kitsune.mozillamessaging.com/en-US/kb/master-password-requested-not-set
3. click "Edit Article"
4. boom :-) ! 500 Error!
I filed bug 640008 on our side.
No longer blocks: 645198
We've also made it impossible to add documents via the admin (bug 669736) which should make it impossible to end up in this state. We don't specifically consider this error a bug, but anything that lets you end up in this state is a bug.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.