Closed Bug 388251 Opened 17 years ago Closed 16 years ago

Implement 'new Bugzilla::Attachment'

Categories

(Bugzilla :: Attachments & Requests, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.4

People

(Reporter: LpSolit, Assigned: LpSolit)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

... instead of the current Bugzilla::Attachment->get(). Same for new_from_list() instead of get_list(). Said otherwise: use Object.pm! :)
Blocks: 412074
Severity: normal → enhancement
Target Milestone: Bugzilla 3.2 → Bugzilla 4.0
This bug is specific to |new Bugzilla::Attachment|. I also renamed ->insert_attachment_for_bug() to ->create(). I will update Attachment->create() to match how Object->create() works in a separate bug.
Target Milestone: Bugzilla 4.0 → Bugzilla 3.4
Attached patch patch, v1Splinter Review
In a separate bug, I will implement ->create and ->update in a clean way.
Attachment #337486 - Flags: review+
Checking in attachment.cgi;
/cvsroot/mozilla/webtools/bugzilla/attachment.cgi,v  <--  attachment.cgi
new revision: 1.148; previous revision: 1.147
done
Checking in post_bug.cgi;
/cvsroot/mozilla/webtools/bugzilla/post_bug.cgi,v  <--  post_bug.cgi
new revision: 1.197; previous revision: 1.196
done
Checking in Bugzilla/Attachment.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Attachment.pm,v  <--  Attachment.pm
new revision: 1.58; previous revision: 1.57
done
Checking in Bugzilla/Flag.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Flag.pm,v  <--  Flag.pm
new revision: 1.99; previous revision: 1.98
done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: approval+
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: