Completed

#0126 Draft cleanup after issue submission  

When you submit an issue without "Preview first" or "Save draft" there might already be a draft saved that is not indicated with draft_issues_id variable. If that is the case a quick cleanup should take place inside the SubmitIssue() code that checks for identical drafts matching the exact subject and description. Perhaps we should even have a .startswith() test since the submitted issue is likely to just be more complete.

Submitted by: <Peter Bengtsson>
21-Jun 2005
4 years and 8 months and 3 weeks old
Sections:General
Type:general
Urgency:normal
Changed status from Open to Taken   -   <Peter Bengtsson> permanent link

The logic is this: If...:

  • the title and description of submitted issue matches exactly
  • the title matches exactly and the description starts by the description of the draft
  • the description matches exactly and the title starts by the title of the draft

...then we can delete that draft.

21-Jun 2005
 
Changed status from Taken to Completed   -   <Peter Bengtsson> permanent link

Will be in 0.6.10

21-Jun 2005
 
 
Name:
Email:
Spambot prevention:number?number?number?number? enter these numbers
File attachment:
File attachment:
Hide again hide file attachments
(<Peter Bengtsson>)
Tell a Friend [with more options]

Subscription to changes

 
 

Recent issues