[
https://issues.apache.org/jira/browse/CMIS-873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeff Potts resolved CMIS-873.
-----------------------------
Resolution: Fixed
I replaced all instances of the non-existing model.Document and model.Folder
references with binding-specific references. I also did some more general doc
cleanup as part of this effort.
> Old-style class names in cmislib inline documentation
> -----------------------------------------------------
>
> Key: CMIS-873
> URL: https://issues.apache.org/jira/browse/CMIS-873
> Project: Chemistry
> Issue Type: Bug
> Components: python-cmislib
> Reporter: Nick Burch
> Priority: Minor
> Labels: Newcomer
>
> The cmislib inline documentation has snippets like
> {code}
> >>> repo.createDocumentFromString('testdoc5', parentFolder=testFolder,
> >>> contentString='Hello, World!', contentType='text/plain')
> <cmislib.model.Document object at 0x101352ed0>
> {code}
> However, when run from trunk, the {{cmislib.model.Document}} class is no
> more, and instead you see things like
> {code}
> >>> repo.createDocumentFromString('testdoc5', parentFolder=testFolder,
> >>> contentString='Hello, World!', contentType='text/plain')
> <cmislib.atompub.binding.AtomPubDocument object at 0x2550d10>
> {code}
> The class names in the documentation / examples should therefore probably be
> updated
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)