Ticket #1913 (closed bug: worksforme)
inserting plain text and video resources doesn't work
Reported by: | george | Owned by: | george |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | uncategorized | Version: | 2.0 |
Keywords: | Cc: | ||
Category: | unknown | Effort: | |
Importance: | Ticket_group: | ||
Estimated Number of Hours: | 0 | Add Hours to Ticket: | 0 |
Billable?: | yes | Total Hours: | 0 |
Analysis_owners: | george | Design_owners: | george |
Imp._owners: | Test_owners: | vanya | |
Analysis_reviewers: | Changelog: | ||
Design_reviewers: | Imp._reviewers: | ||
Test_reviewers: | Analysis_score: | 0 | |
Design_score: | 0 | Imp._score: | 0 |
Test_score: | 4 |
Description
1.click insert menu
2.choose Video... item
3.choose a video file and click insert
4.nothing happens
Change History
comment:2 Changed 16 years ago by george
- Design_owners set to george
- Status changed from s1b_analysis_finished to s2a_design_started
- Analysis_owners set to george
comment:3 Changed 16 years ago by george
- A quick solution is to add a HashMap<String, String> to FileDialog, where all the known mime types would be stored. Given a String representing a mime type of a I/O File, the map should return the corresponding file extension, or null if the file is not supported.
- A better solution is using an extension, but it would take more time and testing.
comment:4 Changed 16 years ago by george
- Status changed from s2a_design_started to s2b_design_finished
comment:5 Changed 16 years ago by george
- Status changed from s2b_design_finished to s2c_design_ok
Here is the quick solution [5193].
comment:6 Changed 16 years ago by george
- Owner set to george
- Status changed from s2c_design_ok to s3a_implementation_started
comment:7 Changed 16 years ago by george
- Status changed from s3a_implementation_started to s3b_implementation_finished
Note: See
TracTickets for help on using
tickets.
Problem is in using Mime in FileDialog. Not all file types Mime recognises are described in the mime-types.properties file by a proper string that ends with the file extension of the file type.