[
https://jira.jboss.org/jira/browse/DNA-396?page=com.atlassian.jira.plugin...
]
Randall Hauch resolved DNA-396.
-------------------------------
Fix Version/s: 0.4
Resolution: Done
Assignee: Randall Hauch
Resolved by uploading the updated examples ZIP file to
jboss.org.
Examples Sequencery Application Aborts When A File With No Mime-Type
Is Uploaded
--------------------------------------------------------------------------------
Key: DNA-396
URL:
https://jira.jboss.org/jira/browse/DNA-396
Project: DNA
Issue Type: Bug
Components: Examples
Affects Versions: 0.4
Environment: Ubuntu 8.04
Reporter: Dan Florian
Assignee: Randall Hauch
Priority: Minor
Fix For: 0.4
Attachments: DNA-396_mime_type_fix.patch, DNA-396_windows_cmd.patch
Following along the "Getting Started" document I uploaded "run.sh" to
the examples sequencer application. The program aborted with the following error:
org.jboss.dna.common.SystemFailureException: Unknown mime type for
file:/home/dflorian/Development/dna/examples/sequencers/target/dna-example-sequencers-basic.dir/run.sh
at
org.jboss.example.dna.sequencer.SequencingClient.getMimeType(SequencingClient.java:568)
at
org.jboss.example.dna.sequencer.SequencingClient.uploadFile(SequencingClient.java:317)
at org.jboss.example.dna.sequencer.ConsoleInput$1.run(ConsoleInput.java:70)
at java.lang.Thread.run(Thread.java:619)
The "Getting Started" document states that an uploaded file that isn't an
image, java, or MP3 file will not sequenced. The application should be changed to not
throw an exception and just output a message saying the reason the file was not sequenced
and not added to the repository.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira