Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-1017

CheckIn functionality (with major flag = true) does not set new version's major flag to true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • OpenCMIS 0.14.0
    • None
    • None
    • Java 6, Window 7 64 bit, Alfresco Enterprise 4.2.3 with CMIS version 1.1

    Description

      After checking out document, I tried checking in document with following codes:
      ObjectId oi = doc.checkOut();
      Document pwc = (Document) session.getObject(oi);
      ObjectId oi2 = pwc.checkIn(true, null, doc.getContentStream(), "ver 2");

      My expectation (for new versioned document) is as follow:
      Is Latest - true
      Is Major - true
      Is Latest Major - true

      Actual is as follow:
      Is Latest - true
      Is Major - false
      Is Latest Major - false

      Attachments

        Activity

          People

            Unassigned Unassigned
            jkim Jinwon Kim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: