Closed
Bug 87976
Opened 25 years ago
Closed 21 years ago
application/xml should be in default list for attachment types
Categories
(Bugzilla :: Attachments & Requests, enhancement, P3)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: drepper, Assigned: annevk)
References
Details
Attachments
(2 files, 2 obsolete files)
|
2.00 KB,
patch
|
myk
:
review+
mkanat
:
review-
|
Details | Diff | Splinter Review |
|
1.15 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
With XML files getting more and more important I think it is time to add text/xml
to the list of file types in the
http://bugzilla.mozilla.org/createattachment.cgi?id=XXXXX
menu. I know I can use the "Other" field to fill this in but if text/html is
there text/xml should be as well.
Comment 1•25 years ago
|
||
See also bug #86397 regarding a possibly better solution.
Priority: -- → P3
Target Milestone: --- → Bugzilla 2.16
Comment 2•25 years ago
|
||
Adding us xslt folks to CC.
text/xml as mime type in the default list would definitly ease our life.
People in the xslt community (IE folks) have a hard time with mozilla being
so picky about mime types, so giving them a button to press would be great.
(And I can live without typing text/xml every time as well)
Axel
Comment 3•25 years ago
|
||
Axel, who all did you add to the CC list on this bug? One of them is showing up
as __UNKNOWN__
Comment 4•25 years ago
|
||
it's bugzilla hickup. I'm not sure that I'm to blame, but somehow ' ' got
added to CC. Leave it there until I'm sure the issue is fixed, people might
want to debug this further. (justdave on #mozilla said he knew what happened,
I'm not sure I left a space or extra ',')
Axel
Comment 5•25 years ago
|
||
I'm one of the people who try to fix bugzilla hiccups... :)
In fact, I'm working on something CC related right now, so I'll see if I can
find what caused this. Thanks for confirming that you were only trying to add
two people to the CC list.
Comment 6•25 years ago
|
||
Comment 7•25 years ago
|
||
-> Bugzilla product, Changing Bugs component, reassigning.
Assignee: tara → myk
Component: Bugzilla → Creating/Changing Bugs
Product: Webtools → Bugzilla
Version: Bugzilla 2.13 → 2.13
Comment 8•24 years ago
|
||
We can customise this now. Myk, do we want to add this to the Bugzilla default,
the mozilla.org list, both or neither?
Comment 9•24 years ago
|
||
We are currently trying to wrap up Bugzilla 2.16. We are now close enough to
release time that anything that wasn't already ranked at P1 isn't going to make
the cut. Thus this is being retargetted at 2.18. If you strongly disagree with
this retargetting, please comment, however, be aware that we only have about 2
weeks left to review and test anything at this point, and we intend to devote
this time to the remaining bugs that were designated as release blockers.
Target Milestone: Bugzilla 2.16 → Bugzilla 2.18
Comment 10•24 years ago
|
||
If this is customizable now, it seems like a small effort to add text/xml to the
default list. If this is not going in the standard bugzilla, I suggest at least
adding it to bugzilla.mozilla.org. It would guide a lot of people to the right
mimetype for their testcases.
Comment 11•24 years ago
|
||
Matty, ask in the newsgroup whether or not this should be part of the default
list. Either way I am going to add to b.m.o.'s list (bug 110895) since there
are a number of attachments that use that type on that installation (per
attachment 57627 [details] of bug 39835).
Comment 12•24 years ago
|
||
*** Bug 110895 has been marked as a duplicate of this bug. ***
Comment 13•22 years ago
|
||
Enhancements which don't currently have patches on them which are targetted at
2.18 are being retargetted to 2.20 because we're about to freeze for 2.18.
Consideration will be taken for moving items back to 2.18 on a case-by-case
basis (but is unlikely for enhancements)
Target Milestone: Bugzilla 2.18 → Bugzilla 2.20
Comment 14•22 years ago
|
||
Bugzilla 2.20 feature set is now frozen as of 15 Sept 2004. Anything flagged
enhancement that hasn't already landed is being pushed out. If this bug is
otherwise ready to land, we'll handle it on a case-by-case basis, please set the
blocking2.20 flag to '?' if you think it qualifies.
Target Milestone: Bugzilla 2.20 → Bugzilla 2.22
| Assignee | ||
Comment 15•21 years ago
|
||
If something would come in the default list, it should be 'application/xml'.
'text/xml' has issues.
Summary: text/xml should be in default list → application/xml should be in default list
Comment 16•21 years ago
|
||
What issues?
| Assignee | ||
Comment 17•21 years ago
|
||
Well, it should default to US-ASCII instead of UTF-8 when no charset parameter
is given (Mozilla has a bug on this). It is going to be deprecated in some
future RFC.
| Assignee | ||
Comment 18•21 years ago
|
||
myk, this is a start. Where can I find the option list used on bmo? I need to
replace text/xml with application/xml there too.
The content-types.html.tmpl file does not even list XML as an option. Perhaps
it should?
| Assignee | ||
Comment 19•21 years ago
|
||
Next time I should really read the bug first.
Attachment #174573 -
Attachment is obsolete: true
Attachment #174579 -
Flags: review?(myk)
| Assignee | ||
Updated•21 years ago
|
Attachment #174573 -
Flags: review?(myk)
Comment 20•21 years ago
|
||
Comment on attachment 174579 [details] [diff] [review]
patch #2
>Index: mozilla/webtools/bugzilla/Bugzilla/Constants.pm
>Index: mozilla/webtools/bugzilla/template/en/default/attachment/content-types.html.tmpl
Nit: these changes do entirely different things and should probably be separate
patches.
The first change looks OK to me but needs second review due to the potential
implications.
The second change fixes the issue this bug reports just fine. One nit: XML
should be grouped with the text types (i.e. underneath "HTML source") instead
of at the end.
Attachment #174579 -
Flags: review?(myk) → review+
| Assignee | ||
Comment 21•21 years ago
|
||
This patch places XML under HTML.
Attachment #174579 -
Attachment is obsolete: true
Attachment #175436 -
Flags: review?(myk)
| Assignee | ||
Updated•21 years ago
|
Attachment #175436 -
Flags: review?
Updated•21 years ago
|
Attachment #175436 -
Flags: review?(myk) → review+
Updated•21 years ago
|
Flags: approval+
Comment 22•21 years ago
|
||
Comment on attachment 175436 [details] [diff] [review]
patch #3
>Index: Bugzilla/Constants.pm
>===================================================================
>RCS file: /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Constants.pm,v
>retrieving revision 1.18
>diff -u -p -8 -r1.18 Constants.pm
>--- Bugzilla/Constants.pm 18 Feb 2005 22:41:09 -0000 1.18
>+++ Bugzilla/Constants.pm 24 Feb 2005 15:35:38 -0000
>- "xml" => "text/xml" ,
>+ "xml" => "application/xml" ,
Yeah, please put this in a separate bug. It would be "Bugzilla should send
XML templates as application/xml."
Attachment #175436 -
Flags: review? → review-
| Assignee | ||
Comment 23•21 years ago
|
||
This can be checked in. It only includes the patch relevant to this bug. It has
r+a.
Comment 24•21 years ago
|
||
Comment on attachment 175709 [details] [diff] [review]
patch #4 - fixes just this bug
Yep. Cool. :-)
Attachment #175709 -
Flags: review+
Comment 25•21 years ago
|
||
/cvsroot/mozilla/webtools/bugzilla/template/en/default/attachment/content-types.html.tmpl,v
<-- content-types.html.tmpl
new revision: 1.5; previous revision: 1.4
done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Component: Creating/Changing Bugs → Attachments & Requests
Resolution: --- → FIXED
Summary: application/xml should be in default list → application/xml should be in default list for attachment types
Target Milestone: Bugzilla 2.22 → Bugzilla 2.20
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•