WordPress.org

Making WordPress.org

Opened 14 months ago

Last modified 14 months ago

#3444 new defect

Delete plugin post if ZIP upload fails

Reported by: ocean90 Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords: needs-patch
Cc:

Description

I just had the case where the ZIP upload had failed.
The upload handler correctly returns an error. But since the associated post is created before it now remains in the database, without a ZIP to review.

I suggest to delete the post in this case so the plugin author can try to upload the plugin again.

Change History (2)

#1 in reply to: ↑ description @varunms
14 months ago

Replying to ocean90:

I just had the case where the ZIP upload had failed.
The upload handler correctly returns an error. But since the associated post is created before it now remains in the database, without a ZIP to review.

I suggest to delete the post in this case so the plugin author can try to upload the plugin again.

This is a good feature. I would like to code for it. but how i can start ?

#2 @Ipstenu
14 months ago

That would mark the 3rd time in a year that it's happened. All the times that've resulted in a post, we just email the dev and tell them robots ate their zip, can we have another.

I don't know that deleting would work 'right' with everything else going on with post statuses.

Note: See TracTickets for help on using tickets.