Bug 92594 - WebDAV KIO Konqueror inconsistent get
Summary: WebDAV KIO Konqueror inconsistent get
Status: RESOLVED WORKSFORME
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: webdav (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-02 17:55 UTC by Paul Kopacz
Modified: 2011-10-28 23:21 UTC (History)
1 user (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 Paul Kopacz 2004-11-02 17:55:31 UTC
Version:           3.3.1-1.2 (using KDE KDE 3.3.1)
Installed from:    RedHat RPMs
OS:                Linux

When using the WebDAV kio slave from konqueror (i.e. webdav://server/files/) to access files results in an old or current file being downloaded (depending on method of opening file).  A demonstration:

1)
Open a file using kwrite through konqueror.  Konqueror shows the file name (in the title bar) as /var/tmp/kdecache-pkopacz/krun/29126.0.testfile
Changes are made and saved.  Upon closing kwrite, konqueror asks if the file should be uploaded to which I respond yes.  To make it easier, we'll call the first version of the file Version 1 and the one that just replaced it (the one with the changes that was uploaded) Version 2.

2)
Right-click on the file in Konqueror, specify Open With... and select kwrite.  The file is opened with kwrite using the filename /var/tmp/kdecache-pkopacz/krun/29142.0.testfile (not the same numbers as before).  This is VERSION 1 of the file, not the updated version (i.e. this is the bug).

3)
Right-click on the file in Konqueror, specify Open With... and select Quanta.  The file is opened with Quanta using the filename /var/tmp/kdecache-pkopacz/krun/29158.0.testfile (again, not the same numbers as before).  Again, this is VERSION 1 of the file, not the updated version (i.e. it's not just kwrite).

4)
Again...
Right-click on the file in Konqueror, specify Open With... and select kwrite.  The file is opened with kwrite using the filename /var/tmp/kdecache-pkopacz/krun/29173.0.testfile (not the same numbers as before).  This is VERSION 1 of the file, not the updated version (i.e. still wrong).

5)
But this works...
Left-click on the file in Konqueror.  In the dialog that pops up, click the Open With... button.  Select kwrite.  Kwrite opens file /var/tmp/kdecache-pkopacz/krun/29188.0.testfile.  This is now VERSION 2 (this is right).

6)
Now...
Right-click on the file in Konqueror, specify Open With... and select kwrite.  The file is opened with kwrite using the filename /var/tmp/kdecache-pkopacz/krun/29200.0.testfile.  This is now VERSION 2 of the file.

7)
Same for Quanta

My (obvious) guess is that the contents of the file are being cached, and one method of opening the file does not check whether the cache is fresh while the other one does.
Comment 1 Dawit Alemayehu 2011-10-28 23:21:48 UTC
Too old. Still I cannot reproduce in KDE 4.7 and newer using kwrite to perform similar tests as those outlined here. Feel free to reopen this ticket if the issue persists for you in the most recent versions of KDE, v4.7.2 as of this writing.