As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
session.getObject(docId).setProperty(PropertyIds.CHECKIN_COMMENT, "my commentary");
Document checkout = (Document)session.getObject(document.checkOut()); checkout.checkIn(true, parameter, contentStream, comment, null, null, null);
Exception in thread "main" org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Error Interno del Servidor at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:411) at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.put(AbstractAtomPubService.java:515) at org.apache.chemistry.opencmis.client.bindings.spi.atompub.VersioningServiceImpl.checkIn(VersioningServiceImpl.java:164) at org.apache.chemistry.opencmis.client.runtime.PersistentDocumentImpl.checkIn(PersistentDocumentImpl.java:188)
Web Script Status 500 - Internal Error The Web Script <a href="%2Falfresco%2Fservice%2Fcmis%2Fpwc%2Fs%2Fworkspace%3ASpacesStore%2Fi%2Fe6fc6d97-337f-4082-9699-693df24310f9%3FcheckinComment%3Dprimera%2Bversion!%26major%3Dtrue%26checkin%3Dtrue">/alfresco/service/cmis/pwc/s/workspace:SpacesStore/i/e6fc6d97-337f-4082-9699-693df24310f9</a> has responded with a status of 500 - Internal Error An error inside the HTTP server which prevented it from fulfilling the request. 04250018 Wrapped Exception (with status template): 04250021 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/cmis/pwc.put.atom.js': Duplicate child name not allowed: nuevoDocumento org.alfresco.service.cmr.repository.DuplicateChildNodeNameException - Duplicate child name not allowed: nuevoDocumento
Holder<String> idHolder = new Holder<String>("documentId");