Bug 461985 - webdav nextcloud integration : every created file fails to a generic file with propfind xml content
Summary: webdav nextcloud integration : every created file fails to a generic file wit...
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.08.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-18 10:09 UTC by Yannick LIMBALLE
Modified: 2022-11-23 10:09 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yannick LIMBALLE 2022-11-18 10:09:36 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

Using a webdavs integration under Linux KDE Dolphin file browser in the form :
webdavs://username@server.com/remote.php/dav/files/username/

The access is made from an app password and is working well in the authentication phase. Access is granted and file browsing is well working.

The issue is every try to upload or create a new file from scratch result in having a default 167 kb file with a XML content which corresponds to a propfind request in webdav.

The content of the file is :
<?xml version="1.0" encoding="utf-8" ?> <D:propfind xmlns:D="DAV:"> <D:prop> <D:creationdate/> <D:getcontentlength/> <D:displayname/> <D:resourcetype/> </D:prop> </D:propfind>

On the other hand, browsing files or downloading files from the webdav folders are working nice.
Moreover, web browser upload or file creation is well working.

The issue is showing itself only on upload and file creation using webdav integration through Dolphin client (version 22.08.2)



STEPS TO REPRODUCE

1. Configuration a Dolphin network folder following the procedure given by nextcloud support page (https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html#accessing-files-with-kde-and-dolphin-file-manager)
2. Upload a file into the network folder once mounted
3.  If the file is 167 kb file size, check the content is the same as below :

<?xml version="1.0" encoding="utf-8" ?> <D:propfind xmlns:D="DAV:"> <D:prop> <D:creationdate/> <D:getcontentlength/> <D:displayname/> <D:resourcetype/> </D:prop> </D:propfind>


OBSERVED RESULT
see above

EXPECTED RESULT
the real source file is being uploaded. A newly created file is empty.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  Fedora 37 kernel 6.0.8
(available in About System)
KDE Plasma Version: 5.26.2
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION
Comment 1 prosch88 2022-11-22 08:39:36 UTC
I'm having the same issue on Manjaro KDE with dolphin 22.08.3
Comment 2 prosch88 2022-11-22 08:50:56 UTC
Found out that downgrading the package "kio" to 5.98 solves this problem.
Comment 3 Yannick LIMBALLE 2022-11-23 08:30:01 UTC
issue resolved when updating to : 
kf5-kio-core 5.100.0
Comment 4 Yannick LIMBALLE 2022-11-23 08:30:29 UTC
issue resolved when updating to : 
kf5-kio-core 5.100.0
Comment 5 Tim Schlotfeldt 2022-11-23 10:09:58 UTC
(In reply to Yannick LIMBALLE from comment #4)
> issue resolved when updating to : 
> kf5-kio-core 5.100.0

I can confirm that. The problem is gone.

SOFTWARE/OS VERSIONS:
Operating System: Arch Linux
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 6.0.9-arch1-1 (64-bit)
Graphics Platform: Wayland