chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Potts (JIRA)" <>
Subject [jira] Created: (CMIS-231) setContentStream sets document mime type to application/atom+xml
Date Mon, 12 Jul 2010 20:40:50 GMT
setContentStream sets document mime type to application/atom+xml

                 Key: CMIS-231
             Project: Chemistry
          Issue Type: Bug
          Components: cmislib
            Reporter: Jeff Potts
            Assignee: Jeff Potts

Migrated from GC issue #10, Reported by bdkahn, Mar 23, 2010

What steps will reproduce the problem?
1. create an HTML document with createDocument
2. update contents using setDocumentStream

What is the expected output? What do you see instead?
HTML document no longer has the text/html mime type, but instead is 

What version of the product are you using? On what operating system?
0.3dev on Fedora 12 x86_64

Please provide any additional information below.
Looks like:

        # build the Atom entry
        #xmlDoc = self._getEntryXmlDoc(contentFile=contentFile)

        # post the Atom entry
        result = self._cmisClient.put(srcUrl,, 
        if type(result) == HTTPError:
            raise CmisException(result.code)

is the problem

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message