Closed Bug 76030 Opened 25 years ago Closed 15 years ago

Add a button for the new MIMEtype to the list.

Categories

(Bugzilla :: Creating/Changing Bugs, enhancement, P3)

2.11
enhancement

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugs4hj, Unassigned)

Details

Attachments

(1 file)

I like to see a button to select the new MIMEtype "application/vnd.mozilla.xul+xml" when attaching a file. The MIMEtype 'text/xul' is removed and replaced by 'application/vnd.mozilla.xul+xml'. That's fine just fine, if you know what to use. So a button makes life easy for us. And we don't have to type it in, and nobody have to make mistakes using a wrong MIMEtype for XUL files! As i just did. Also note that Mozilla build 2001041020 keep opening new windows, if you use text/xul for your attachments!
Attached patch Patch — — Splinter Review
H-J: I can sympathise. :-) There's not much chance of this getting into the main Bugzilla distribution, but if you ask endico nicely, she may apply this one-line fix to b.m.o. endico: this MIME type is rather long and easy to mis-type, and patches/testcases are often attached using it. Also, there's the other thing about the bug in Mozilla which makes it particularly important that people know the correct XUL MIME type... Gerv
Assignee: tara → endico
We were speculating on the IRC channel how we should do this for the general case. There was discussion about automatic generation of the list. Dissension was made about how people could have test types, typos etc, and the suggestion was made to have a threshhold about which the type would appear. Another possibility is to make this totally manual, something like this: Advertised MIME types: blah blah blah [X] Currently 5 attachments ra ra ra [X] Currently 0 attachments Non-advertised MIME types in database: foo bar baz [ ] Currently 2 attachments Add a MIME type not in the database: [ ] [ Commit ]
Target Milestone: --- → Future
See also bug #86397.
Severity: normal → enhancement
Priority: -- → P3
Component: Bugzilla → Creating/Changing Bugs
Product: Webtools → Bugzilla
Version: Bugzilla 2.11 → 2.11
Attachment #31766 - Flags: review?
OS: Windows NT → All
Hardware: PC → All
Summary: [RFE] please add a button for the new MIMEtype to the list. → Add a button for the new MIMEtype to the list.
Attachment #31766 - Flags: review?
Assignee: endico → nobody
QA Contact: mattyt-bugzilla → default-qa
Target Milestone: Future → ---
Assignee: nobody → create-and-change
When you create a new attachment, Bugzilla alread offers a drop-down menu with common MIME types in it (that was implemented long ago). And Bugzilla 4.0 has a hook to easily extend the list if needed, see bug 596079.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: