Bug 99377

Summary: CMIS: document can't be saved via Web Service binding
Product: LibreOffice Reporter: Alexander <alexander.ziziko>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INSUFFICIENTDATA    
Severity: normal CC: ilmari.lauhakangas, jmadero.dev, raal, xiscofauli
Priority: medium    
Version: 5.2.0.0.alpha0+   
Hardware: All   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 98360    
Attachments: The last message before crash
Fiddler logs of the infinite loop

Description Alexander 2016-04-18 16:20:15 UTC
Created attachment 124465 [details]
The last message before crash

There are three major problems:
1. It seems that LO tries to use getObjectByPath method to save or get an addition information about non existing object by path.
2. As getObjectByPath is specified to be used only for retrieval of existing objects it throws an exception which cause an infinite loop and crash of LO

Steps to reproduce:
1. Register a new CMIS service for local OpenCMIS InMemory Repository
2. Wait... Select any directory 
3. Enter file name and press Save
4. Wait for error "unknown type id:*"

Reproducible with:
master-2016-04-16_20.39.57_LibreOfficeDev_5.2.0.0.alpha0
libreoffice-5-1~2016-04-16_23.32.48_LibreOfficeDev_5.1.3.0.0
Comment 1 Alexander 2016-04-18 16:21:33 UTC
Created attachment 124466 [details]
Fiddler logs of the infinite loop
Comment 2 Joel Madero 2016-04-18 18:31:08 UTC
Is this a regression in current master or is the same problem around in a non-master? Would be good to identify the first version that shows this problem. If it's a recent regression - let's tag it appropriately (regression in keywords)
Comment 3 Buovjaga 2016-05-12 11:25:14 UTC
Can you get a backtrace of the crash https://wiki.documentfoundation.org/How_to_get_a_backtrace_with_WinDbg
Comment 4 Xisco Faulí 2017-10-31 18:39:36 UTC
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 5 QA Administrators 2018-05-02 15:46:44 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2018-05-30 16:47:39 UTC
Dear Bug Submitter,

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-20180530