Bug 95653

Summary: FILESAVE: Version control shows inappropriate message box with CMIS
Product: LibreOffice Reporter: Olivier Hallot <olivier.hallot>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ilmari.lauhakangas, philipz85, serval2412, szymon.klos, vasily.melenchuk
Priority: medium    
Version: 5.0.3.2 release   
Hardware: Other   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107247    
Attachments: inappropriate dialogue in CMIS version control

Description Olivier Hallot 2015-11-07 13:06:17 UTC
Created attachment 120361 [details]
inappropriate dialogue in CMIS version control

The images shows it but,

1) Open a spreadsheet file
2) Click on menu File - Versions
3) The dialogue pop-pup, click on CMIS button
4) A message box shows like the picture attached. This dialogue should not show this content (not in my computer) ... or show up at all.

Clik OK and the dialog is gone.

The dialog is inappropriated.
Comment 1 Julien Nabet 2015-11-07 16:31:54 UTC
On pc Debian x86-64 with master sources updated today, I don't see any "CMIS" button after having selected "File Versions" with by default dialog or with LO dialogs.
Comment 2 Buovjaga 2015-11-11 12:13:12 UTC
(In reply to Julien Nabet from comment #1)
> On pc Debian x86-64 with master sources updated today, I don't see any
> "CMIS" button after having selected "File Versions" with by default dialog
> or with LO dialogs.

Apparently we have to enable experimental features in Advanced options to see it.

Yep, I get:
C:/cygwin64/home/buildslave/source/libo-core/ucb/source/ucp/file/filglob.cxx:254: 

Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: fi-FI (fi_FI)

Version: 5.1.0.0.alpha1+
Build ID: 6da681442b17c723f9408a806e8d2367441ad65a
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-07_23:13:46
Locale: fi-FI (fi_FI)
Comment 3 Julien Nabet 2015-11-11 20:22:38 UTC
Searching about TASKHANDLER_UNSUPPORTED_COMMAND gives this:
ucb/source/ucp/file/bc.cxx#419

and we enter in the "else" block because aCommand.Name = "getAllVersions" and this case isn't dealt.

Cédric/Szymon/Vasily: thought you might be interested in this one.
Comment 4 Szymon Kłos 2015-11-13 22:04:28 UTC
"getAllVersions" is supported by the cmis content:
http://opengrok.libreoffice.org/xref/core/ucb/source/ucp/cmis/cmis_content.cxx#1844

If we open a spreadsheet file from the cmis repository, it works.
It seems that this button ("CMIS") should be hidden for local files.
Am I right?
Comment 5 QA Administrators 2017-01-03 19:35:02 UTC Comment hidden (obsolete)
Comment 6 Yousuf Philips (jay) (retired) 2017-04-18 17:30:21 UTC

*** This bug has been marked as a duplicate of bug 92394 ***