Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#5812 closed defect (bug) (fixed)

Automatically remove theme uploads when ticket creation fails

Reported by: dd32's profile dd32 Owned by: dd32's profile dd32
Milestone: Priority: normal
Component: Theme Directory Keywords:


When the Trac ticket fails to be created, but the SVN commit succeeds, it leaves the theme directory in a state where the theme author gets an error upon attempting to upload that version again, even though doesn't know about that version.

It makes sense that if the theme upload process fails - ie. the Trac ticket can't be created, that the SVN directory should be cleaned up.

Change History (2)

#1 @dd32
3 years ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 11102:

Theme Directory: When a theme upload fails due to Trac ticket creation failures, automatically remove the SVN directory.

This should result in less cleanup when the upload handler or trac is having trouble.

Fixes #5812.

Note: See TracTickets for help on using tickets.