Bug #762
missing Attachments after deleting draft
| Status: | Rejected | Start date: | 02/18/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Huji Lee | % Done: | 0% |
|
| Category: | Attachments | |||
| Target version: | 1.4.12 | |||
| Reproducibility: | Always | Database Type: | MySQL | |
| Reported In MyBB Version: | 1.4.11 | Database Version: | 5.0.67 | |
| PHP Version: | 5.2.12 | SQA assignments: | ||
| Browser: |
Description
Create a new thread or post and upload attachment(s). Save this as draft. Once you posted this thread or post, the draft still exists in the user-cp.
As the post is already published you will do not need the draft anymore. Delete the draft and have a look into the according thread or post. The related attachments have gone.
I had a look in the database and the attachment-IDs are dedicated to the draft-ID but not to the post-ID.
History
#1 Updated by Huji Lee over 2 years ago
- Category set to Attachments
- Status changed from New to Assigned
- Assignee set to Huji Lee
#2 Updated by Tom Moore over 2 years ago
Huji, before making any changes, ensure that #586 doesn't solve the problem. I vaguely rememeber seeing this before...
#3 Updated by Huji Lee over 2 years ago
Thanks for the reminder Tom, what I'm actually going to do is to review the whole relevant parts of the code; like some of the other bugs I've worked on before, this may end up with findings (and fixing) other undetected issues. I'll make sure that #586 will remain fixed in the end.
#4 Updated by Ryan Gordon over 2 years ago
- Status changed from Assigned to Rejected