-
Notifications
You must be signed in to change notification settings - Fork 2
Deleting some drafts causes 500 error #212
Comments
Some info I've found out about these documents:
I've been working with the first piece of content (c588fc82-e058-409e-a70d-0b7908e8dac3). So it does now exist in publishing. However, my attempts to delete as 'ew2' have been unsuccessful. |
Authoring Error Log
|
I also have one of these pieces of content (created in December). http://dev.cnx.org/contents/[email protected]/Dev_Book_4 We may actually run into this issue on production if we ever do that "back out of a publish gone wrong" we talked about. I'm of the opinion that an empowered user could get out of this situation if they could "recover their content after a failed publication." |
@pumazi I was going to write an exception to ignore this error for publishing in this delete case, but I agree I think that your approach would be best. |
In general, yes, we need to recover. But this specific case, the user has asked to delete the draft. We should probably honor that regardless of what publishing thinks, since this only triggers if the last user with edit privs on this draft deletes. |
I deleted some of the drafts in my workspace on dev.cnx.org. Some were successful, but others caused a 500 error. They should all delete.
A few links
The text was updated successfully, but these errors were encountered: