Uploaded image for project: 'Chemistry'
  1. Chemistry
  2. CMIS-464

Call to CheckIn method with second parameter with value null gets an exception.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: DotCMIS 0.3
    • Fix Version/s: DotCMIS 0.4
    • Component/s: dotcmis
    • Labels:
      None

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              fmui Florian Müller
              Reporter:
              jigarme Jigar Mehta
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: