Bug 71618

Summary: BUGZILLA: Attachments filed with initial bug report do not get correct MIME type
Product: freedesktop.org Reporter: Robinson Tryon (qubit) <qubit>
Component: BugzillaAssignee: fd.o Admin Massive <sitewranglers>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium CC: bfo.bugmail, foss, jmadero.dev, qubit, website
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Hello, World in ODT format
A copy of Hello, World

Description Robinson Tryon (qubit) 2013-11-14 17:40:41 UTC
Created attachment 89206 [details]
Hello, World in ODT format

Test bug (per discussion on ESC call).

Attaching a single ODT file.
Comment 1 Robinson Tryon (qubit) 2013-11-14 17:49:52 UTC
Joel Madero wrote:
>
> My understanding is that the first time you upload a document (with the
> original report) [to Bugzilla] it doesn't detect any mime type, but
> after the first one if you attach additional documents it auto detects.

Confirmed.

The following attachment (Hello.World.odt) was filed alongside the initial bug report:
 Hello, World in ODT format (7.61 KB, text/plain)
Comment 2 Robinson Tryon (qubit) 2013-11-14 17:51:00 UTC
Created attachment 89207 [details]
A copy of Hello, World
Comment 3 Robinson Tryon (qubit) 2013-11-14 17:53:40 UTC
Attachments filed after the initial bug report have their MIME types properly auto-detected. Example:

The following attachment (Hullo.Earth.odt) was filed AFTER the initial bug report:
 A copy of Hello, World (7.61 KB, application/vnd.oasis.opendocument.text)
Comment 4 Joel Madero 2013-11-14 18:05:48 UTC
Indeed - another to do when we move to our own bug tracker :-/
Comment 5 Joel Madero 2013-11-14 18:06:22 UTC
Perhaps we should have a whiteboard status "BUGTRACKER" or some such thing so that we can go back and just have a list of our current issues and you and Rob can tackle them one by one?
Comment 6 Robinson Tryon (qubit) 2013-11-14 18:17:42 UTC
(In reply to comment #5)
> Perhaps we should have a whiteboard status "BUGTRACKER" or some such thing
> so that we can go back and just have a list of our current issues and you
> and Rob can tackle them one by one?

Sure -- we can also search for 'BUGZILLA' in the summary :-)
Comment 7 bfoman 2013-11-14 21:53:08 UTC
> (In reply to comment #5)
> > Perhaps we should have a whiteboard status "BUGTRACKER" or some such thing
> > so that we can go back and just have a list of our current issues and you
> > and Rob can tackle them one by one?
> Sure -- we can also search for 'BUGZILLA' in the summary :-)

Wouldn't it be easier to create Bugzilla migration meta bug with all its dependences (based on wiki article) blocking it? You don't need to abuse whiteboard field for everything...
Comment 8 Joel Madero 2013-11-14 21:59:23 UTC
@bfoman +1 :) We have gotten a bit loose with whiteboard status' (partly because other things depends on them).
Comment 9 Robinson Tryon (qubit) 2013-11-14 22:05:59 UTC
(In reply to comment #8)
> @bfoman +1 :) We have gotten a bit loose with whiteboard status' (partly
> because other things depends on them).

There are a couple of reasons why we might not want to use a tracking bug, e.g. I believe every sub-step then needs to be a bug... :P )

On the flip side, a dozen or more bugs that we open and then close later sure look good on our stats! :-)
Comment 10 foss 2014-07-21 09:50:52 UTC
I'd like to raise priority on this. This bug costs QA and users a lot of time and results in a frustration UX when attachments are incorrectly listed as text/plain while being actually a png image. Can't be that hard to check the filename...
Comment 11 Joel Madero 2014-07-21 14:40:45 UTC
We literally have no power over this - FDO owns the infra and it's their bug
Comment 12 foss 2014-07-21 23:52:51 UTC
Then it would be NOTOURBUG, but since LO is planning on migrating to their own bugzilla it then would become our bug.

Or am I misunderstanding things?

https://redmine.documentfoundation.org/issues/49 says Bugzilla will be migrated to an own instance at FDO. So that would mean LO has their own instance but is still dependend on FDO fur such issues?

Is the latter is true, we should file a bug with FDO concerning those attachment MIME type issues and cross link the bugs.
Comment 13 Joel Madero 2014-07-22 02:21:51 UTC
Changed to FDO ;) For now we're on their infra (which we are tremendously greatful for). We are still trying to get our migration down.
Comment 14 Daniel Stone 2015-09-18 10:29:15 UTC
the migration did happen

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.