https://bugs.documentfoundation.org/show_bug.cgi?id=174424
Bug ID: 174424
Summary: WebDAV: Crash after selecting path of a deleted remote
server
Product: LibreOffice
Version: 26.8.1.1 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
I managed to encounter a quite weird behavior, while testing WebDAV remote
servers. When I remove one of the servers, the Remote Files dialog still
displays the original root path of the deleted service and it's still
clickable. In a specific case clicking on one of the path segments leads to a
crash.
Steps to Reproduce:
1. Open "Remote Files" dialog: File -> Open Remote...
2. Add a new remote server using: Manage services -> Add service
3. Fill in the form using a secure WebDAV connection like this
- Type: WebDAV
- Host: nextcloud.documentfoundation.org
- Port: 443 (default)
- Secure connection: checked
- Label: WebDAV - tdf nc
- Root: /remote.php/dav/files/<username>
4. Click OK and Enter username and password when prompted, also check save
password option.
5. Enter master password when prompted.
-> LibreOffice connects to remote server and shows folders.
6. Now create a second WebDAV connection, something like this
- Type: WebDAV
- Host: localhost
- Port: 80 (default)
- Secure connection: unchecked
- Label: WebDAV - local nc
- Root: /remote.php/dav/files/<username>
7. Click OK and Enter username and password when prompted, also check save
password option.
8. Enter master password when prompted.
-> LibreOffice connects to remote server and displays its folders.
9. Edit the second connection's settings: Manage services -> Edit service
10. Change the port to 81
11. Reselect the modified service from the list to trigger a reconnection.
-> An error message is displayed because of the wrong port.
12. Remove the service using: Manage services -> Delete service
-> Service is removed from the list, but the root path is still displayed.
13. Click on "dav" path segment in the Remote Files dialog.
-> LibreOffice crashes.
Note: It seems that the first service is also removed after the crash. Perhaps
the crash prevents the software from saving the service configuration
permanently
Actual Results:
Crash.
Expected Results:
No crash.
Reproducible: Always
User Profile Reset: No
Additional Info:
Additional Info:
Version: 26.8.1.1 (X86_64)
Build ID: 680(Build:1)
CPU threads: 4; OS: Linux 7.0; UI render: default; VCL: kf6 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.