[
https://issues.apache.org/jira/browse/JCR-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570126#action_12570126
]
angela commented on JCR-1393:
-----------------------------
do you have an extension in you resource-configuration that defines the .docx
extension?
"application/octet-stream" is the default for unknown extensions if
- no mapping fits (and the mimetype.properties probably don't list docx)
- the request does not send a content-type header.
angela
> Unknown Mimetype should not be set automatically to application/octet-stream
> ----------------------------------------------------------------------------
>
> Key: JCR-1393
> URL: https://issues.apache.org/jira/browse/JCR-1393
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-webdav
> Affects Versions: 1.4
> Reporter: Claus Köll
>
> if i add a node to jackrabbit i add the jcr:content node as nt:resource.
> if i open now this document with webdav i found that the DefaultHandler
> looks if the jcr:content node is from type nt:unstructured, if not
> the child properties of the content node will be deleted and the properties
> will be set again.
> so there is a problem with the mimetype. if i do that with a office 07
> document (.docx)
> the original mimetype "application/msword" will be changed to
> "application/octet-stream".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.