Ticket #1387 (closed defect: duplicate)

Opened 4 years ago

Last modified 4 years ago

plain text files are uploaded with .doc extension

Reported by: HoboPrimate Owned by: erikos
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
Component: Browse Version: Git as of bugdate
Severity: Unspecified Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

I've been attaching some logs in tickets, and they are copied from Log, and then 'Kept' in the Journal.
In its detailed view, the log shows as being a plain text file. When I choose to upload it to bugs.sugarlabs.org, I notice that it is uploaded as a .doc file, when it probably be as a .txt file in this case.

Change History

Changed 4 years ago by alsroot

  • status changed from new to closed
  • resolution set to duplicate

dup of #901,
after applying #901 patch, extension should be .txt,
moreover its possible to use extension in 'title' of Journal object, in that case this extension will be preserved.

Changed 4 years ago by tomeu

but maybe we should check where we were wrongly inferring the extension or mime type?

Note: See TracTickets for help on using tickets.