Task #2303 (closed)
Opened 14 years ago
Closed 9 years ago
Set mimetype for OriginalFiles
Reported by: | cblackburn | Owned by: | cblackburn |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-5.1.4 |
Component: | General | Version: | 4.4.9 |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | n.a. |
Description
When a list of OriginaFiles? is returned from a repository the mimetype needs to be set to as meaningful a value as possible so that clients can deal with files accordingly.
Change History (19)
comment:1 Changed 14 years ago by jmoore
- Owner set to cblackburn
comment:2 Changed 14 years ago by jmoore
- Sprint changed from 2010-04-30 (8) to 2010-05-13 (9)
comment:3 Changed 14 years ago by cxallan
- Sprint changed from 2010-05-13 (9) to 2010-05-27 (10)
comment:4 Changed 14 years ago by cxallan
- Sprint changed from 2010-05-27 (10) to 2010-06-10 (11)
comment:5 Changed 14 years ago by cblackburn
- Milestone changed from OMERO-Beta4.2 to Unscheduled
- Sprint 2010-06-10 (11) deleted
comment:6 Changed 14 years ago by cblackburn
- Milestone changed from Unscheduled to OMERO-Beta4.2.1
comment:7 Changed 14 years ago by jmoore
- Milestone changed from OMERO-Beta4.2.1 to Unscheduled
comment:8 Changed 12 years ago by jmoore
comment:9 Changed 12 years ago by cblackburn
Referencing ticket #2595 has changed sprint.
comment:10 Changed 11 years ago by jburel
Referencing ticket #2595 has changed sprint.
comment:11 Changed 11 years ago by jamoore
- Milestone changed from Unscheduled to 5.0.0-beta2
- Version set to 4.4.9
Colin: I'm assuming this is no longer valid. Thoughts?
comment:12 Changed 10 years ago by cblackburn
This ticket came out of very early work when the FS imports were being done very differently so I'm not sure if the context has changed here.
Is this acceptable, ie for image files and companion files to not have mimetypes? If so then this ticket can be closed.
omero5=> select id,name,mimetype from originalfile order by id desc; id | name | mimetype ------+------------------------+--------------- 2609 | 11-52-23.208.log | text/plain 2608 | 23srp5dksub.jpg | 2607 | 11-52-23.208 | Directory 2606 | 11-51-52.357.log | text/plain 2605 | IAGFP-Noc01_R3D.dv.log | 2604 | IAGFP-Noc01_R3D.dv | 2603 | 11-51-52.357 | Directory 2602 | 04 | Directory 2601 | 2013-12 | Directory 2551 | Kymograph.py | text/x-python 2530 | 16-12-16.835.log | text/plain 2529 | user-9 04 TEST.png | 2528 | 16-12-16.835 | Directory 2527 | 16-12-15.970.log | text/plain 2526 | user-9 03 TEST.png | 2525 | 16-12-15.970 | Directory 2524 | 16-12-15.228.log | text/plain ...
comment:13 Changed 10 years ago by jamoore
- Milestone changed from 5.0.0-beta2 to 5.0.0-beta3
- Owner cblackburn deleted
It's not great (I would have expected "application/octet-stream" or similar), but for the moment, is certainly ok. If/when we clean up mimetypes generally, we can decide what those values should be.
comment:14 Changed 9 years ago by jamoore
Colin: anything to do for 5.1.0 or push to 5.1.1?
comment:15 Changed 9 years ago by jamoore
- Owner set to cblackburn
comment:16 Changed 9 years ago by cblackburn
- Milestone changed from 5.1.0 to 5.1.1
comment:17 Changed 9 years ago by cblackburn
- Milestone changed from 5.1.1 to 5.1.2
comment:18 Changed 9 years ago by jamoore
- Milestone changed from 5.1.4 to OMERO-5.1.4
Splitting 5.1.4 due to milestone decoupling
comment:19 Changed 9 years ago by jamoore
- Remaining Time changed from 1 to 0
- Resolution set to duplicate
- Status changed from new to closed
Referencing ticket #2595 has changed sprint.