| Summary: | Alfresco CMIS Checkout/Checkin/Checkout fails with "Can't check out an old version of a document" | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Gerald Quimpo <bopolissimus> |
| Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | barta |
| Priority: | medium | ||
| Version: | 4.2.0.2 rc | ||
| Hardware: | Other | ||
| OS: | Linux (All) | ||
| See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=68551 | ||
| Whiteboard: | BSA | ||
| Crash report or crash signature: | Regression By: | ||
The "Can't check out an old version of a document" message appears when the CMIS connector binds via the binding URL that is */cmisws/* When binding via the */cmisatom/* binding URL, I get: "CURL error - 22: The requested URL returned error: 400 Bad Request: https://[hostname]/alfresco/cmisatom/09d6f8b9-38cc-11dd-9df2-4f7a305b5205/checkedout?objectId=workspace%3A%2F%2FSpacesStore%2F95dab79f-0bc5-4a68-aa88-423fc3acd2c5%3B0.29" hi gerald. are you still seeing this with current LibO 4.2.5.2 release? Hi tommy27, (In reply to comment #2) > hi gerald. > are you still seeing this with current LibO 4.2.5.2 release? Issue is fixed. Details below. Testing LO 4.2.5.2 on Ubuntu Trusty, the "Steps to reproduce" with http (not https) and *cmisatom* (as suggested by LO). 1. The working copy is correctly updated when we do File | Save. 2. The working copy is correctly committed at alfresco when we do File | Check-in 3. We no longer have the "Can't check out an old version of a document" dialog box at step 6. 4. confirm that document loaded in LO is the actual file in alfresco (not a ghost copy of a working copy): A. After Check-in, to confirm that the document currently loaded is the real file in alfresco (not a working copy): Make an edit in the currently loaded file and File | Save B. The edit is reflected in alfresco share preview after reload of the document details. nice to hear that. when we see a bug fixed in a new version but we don't know exactly which committ fixed it, we label it as RESOLVED WORKSFORME |
Problem description: Libreoffice 4.2.0.1 Build ID: 420m0(Build:1) (sorry for selecting 4.2.0.2rc in "Version the bug appeared", there's no 4.2.0.1 option, 4.1.3.2 fails with a different issue that's fixed in 4.2). Alfresco 4.2.c running in Ubuntu, installed from bundle (fails similarly with other alfresco 4.2.x versions tested). If a file is checked out from alfresco using the CMIS connector, edited and checked in. A subsequent checkout (in the same window with the original file still showing) does not succeed. Instead, a dialog box pops up that says "Can't check out an old version of a document." Steps to reproduce: 1. Start Libreoffice 4.2, set up a CMIS connector to alfresco (I used cmisws, but cmisatom fails the same way). 2. Open a file in alfresco via the CMIS connector. 3. Check out the file 4. make an edit (if spreadsheet, edit any cell then click on any other cell). 5. File | Check-In 6. File | Check-Out Current behavior: at #6 a dialog box appears that says "Can't check out an old version of a document" Expected behavior: File should be checked out, we should be able to edit the file and Check-in the edits. User Workaround: File | Close, then open the file again (either by navigating down to the file or by clicking on it in Recent Documents). Operating System: Ubuntu Version: 4.2.0.2 rc