You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Jigar Mehta (Updated) (JIRA)" <ji...@apache.org> on 2011/11/01 22:31:32 UTC
[jira] [Updated] (CMIS-464) Call to CheckIn method with second
parameter with value null gets an exception.
[ https://issues.apache.org/jira/browse/CMIS-464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jigar Mehta updated CMIS-464:
-----------------------------
Affects Version/s: (was: OpenCMIS 0.3.0)
DotCMIS 0.3
> 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
>
> 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