Bug 98648 - Versions > CMIS (Alfresco) - buttons does not work
Summary: Versions > CMIS (Alfresco) - buttons does not work
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.1.2 rc
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: File-Versioning
  Show dependency treegraph
 
Reported: 2016-03-14 13:55 UTC by Ivo Smelhaus
Modified: 2019-12-28 03:31 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
printscreen (63.26 KB, image/png)
2016-04-16 05:57 UTC, raal
Details
cmis-versions-dialog (67.14 KB, image/png)
2016-04-28 14:50 UTC, Ivo Smelhaus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivo Smelhaus 2016-03-14 13:55:03 UTC
After opening file remotely (Alfresco 5.0.d) and then opening versions > CMIS, all versions are listed correctly (fantastic :-) ) but only "close" and "help" button works. All others just does anything.
Comment 1 raal 2016-03-21 07:54:12 UTC
Hello, do you know some online demo server for testing?
Comment 2 Ivo Smelhaus 2016-03-24 10:08:58 UTC
I don't know about any free but I haven't look for them too much. 
On the other hand I can make one for you (I suggest Alfresco 5.1) on ubuntu as a VM on our server. I think it's even better, because of access to all information about nodes using the node-browser, which you will probably not get an access on on-line demo and we can probably manage an access to logs in some way. The HW is so so but for testing it will be OK. For the first testing a default installation is enough. Later on, we can maybe prepare some special cases as well. 
Another way is to install it locally on your PC. The default is pretty easy and if you need a help, I can do it.
It would be great, if we can move this functionality from today’s alfa to production status.
Comment 3 Buovjaga 2016-04-02 17:22:20 UTC
Does this demo work: https://ecm2.nl/producten/alfresco-document-management/online-demo

Currently 5.2 is somehow broken regarding CMIS, OK button greyed out when trying to add service.
Comment 4 Ivo Smelhaus 2016-04-02 18:12:53 UTC
https://docs.ecm2.nl/ looks OK - it's version 5.0.d. The disadvantage is as a non admin user, you don't have access to node browser and js console- what is quite helpful and in case of some problem, to log file. Otherwise it's fine.
Comment 5 raal 2016-04-16 05:57:24 UTC
Created attachment 124379 [details]
printscreen

I can not confirm with Version: 5.2.0.0.alpha0+
Build ID: 0f27cc992a99568e46ffe807ef9dbb5ba0bc601f
CPU Threads: 4; OS Version: Linux 4.2; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-04-12_23:40:16

Seems to be fixed in dev version. Please could you test with dev version?
http://dev-builds.libreoffice.org/daily/master/
Thank you
Comment 6 Guillaume Smaha 2016-04-28 13:16:28 UTC
I can't reproduce too with Alfresco 4.2d and Alfresco 5.1e

LibreOffice 5.2.0.0.alpha1
BuildID: 12694155608762056d5cbf0f89dd1675a7aefb45
Comment 7 Buovjaga 2016-04-28 13:26:28 UTC
WFM as fixing commit is unknown.
Comment 8 Ivo Smelhaus 2016-04-28 14:50:32 UTC
Created attachment 124702 [details]
cmis-versions-dialog
Comment 9 Ivo Smelhaus 2016-04-28 14:57:39 UTC
Sorry for late answer.
I first checked the new 5.2 alpha on my test VM and I've got, that the mentioned CMIS button is only if experimental functions are enabled. But if enabled, then this button is there in both 5.1 and 5.2 and with the same buggy behaviour as well. In the attached picture is visible in the dialogue in front and behind is the firstly attached picture but with the CMIS button.
Comment 10 Ivo Smelhaus 2016-04-28 15:39:51 UTC
So to be unambiguous, I am reporting about CMIS versions. The first dialogue got after "file->versions..." shows internal versions, i.e. saved inside a file but after pressing the mentioned "CMIS" button in this dialogue a new dialogue is open, where are shown versions saved on server, i.e. multiple files resp. nodes incl. all metadata for each node on the server. So "compare" button means compare currently opened file which can have more internal versions (suppose the current local version is used) with another file saved on the server as a X.Y version of our currently opened document. 
So there could be probably more hidden problems. Starting with changed metadata and their mapping to file properties which could be e.g. used in fields in a document. Even file name could be changed. 
And additionally the older version (i.e. file) taken from server could have more internal versions. So open third dialogue? 
And all of that is not only a question how to choose and execute some logic but how to present this quite complicated stuff to a normal non IT user. 
But regardless all of that, this feature is, I believe, very important.
Comment 11 Xisco Faulí 2018-11-27 12:55:15 UTC
Hello Ivo Smelhaus,
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 12 Ivo Smelhaus 2018-11-27 17:33:09 UTC
Hello Xisco Faulí,
I just checked it with 6.1.3~rc2-0ubuntu0.18.04.2. 
The function of CMIS changed a little, but does not work well yet.
The good news is, that saving new version (File > Version > Save new version) create new version in CMIS. Not as good is, that the comment to saved version is not mapped to comment to the created version in CMIS. 
The bad news is, that version created in CMIS in a different way (either checkout/checkin in LO or any other method in repository) are not listed in LO version popup window (File > Version). But as a result of these 2 rules, after clicking the CMIS button (File > Version > CMIS) the user can see all the versions of this document, where some of them are the standard LO versions (listed in File > Version).
What is not changed, are the buttons in CMIS versions window (File > Version > CMIS). They look like, they are just forgotten there from the first popup window (File > Version).
Anyway, I am really convinced, that having 2 popup windows is a really bad solution. There should be only one popup window with all versions. I.e. combination of LO internal versions and CMIS versions. The table should have 2 more columns |CMIS version Label|included in this document| (Column names should be changed), the other columns i.e. |comment|time|modifier| should be mapped. The "Open" button should work for all versions, even if executed by different method (download from repository for CMIS only versions). The other buttons should be inactivated according selection of the particular version - if needed. But I hope, at least compare should be possible in all cases as well. 
From user point of view, it was nice, if there would be the possibility to import some of the CMIS versions (separate documents) to the actual document. Let me, please, remind, that now is no possibility to open and/or compare some older version from CMIS directly using LO but it is necessary to download it to PC as a separate document using some other tool like web interface (e.g. share for Alfresco).
Comment 13 Xisco Faulí 2019-05-30 10:47:37 UTC
Hello Ivo,
A new major release of LibreOffice is available since this bug was reported.
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 14 QA Administrators 2019-11-27 03:46:39 UTC Comment hidden (obsolete)
Comment 15 QA Administrators 2019-12-28 03:31:40 UTC
Dear Ivo Smelhaus,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp