[
https://issues.apache.org/jira/browse/CMIS-464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jigar Mehta updated CMIS-464:
-----------------------------
Attachment: atompub-writer.patch
Here is possible fix for the bug.
> Call to CheckIn method with second parameter with value null gets an
> exception.
> -------------------------------------------------------------------------------
>
> Key: CMIS-464
> URL: https://issues.apache.org/jira/browse/CMIS-464
> Project: Chemistry
> Issue Type: Bug
> Components: dotcmis
> Affects Versions: DotCMIS 0.3
> Reporter: Jigar Mehta
> Attachments: atompub-writer.patch
>
>
> Calling Syntax,
> IDocument iDoc = (IDocument)cmisObject;
> iDoc.CheckIn(false, null, contentStream, "Checkin Comment");
> Because of second parameter as null, when DotCMIS calls GetTitle() method
> from atompub-writer.cs it gets exception, "Object Reference not set to an
> instance of the object".
> Possible fix can be to check for null before iterating through the list in
> GetTitle method (Line 147 - atompub-writer.cs)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira