Bug 253185 - Konqueror does not reread files to repost
Summary: Konqueror does not reread files to repost
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml forms (show other bugs)
Version: 5.0.97
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on: 329455
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-04 01:35 UTC by Christopher Yeleighton
Modified: 2024-05-06 20:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Yeleighton 2010-10-04 01:35:13 UTC
Version:           4.4.4 (using KDE 4.4.4) 
OS:                Linux

Konqueror should upload the current file content when asked to refresh a result of posting a file within a form.  It uploads the cached content instead.

Reproducible: Always

Steps to Reproduce:
1.
echo >'/tmp/Konq-bug.html' '<TITLE >KDE Bug ####</TITLE >'

2.
Tell Konqueror to navigate to the W3C Markup Validation Service [1].

3. 
Upload the file /tmp/Konq-bug.html.

4.
echo >'/tmp/Konq-bug.html' <<'<!-- EOF -->'
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" >
<TITLE >KDE Bug ####</TITLE >
<P >R
<!-- EOF -->

5.
Tell Konqueror to refresh the validation results page.

6.
Tell Konqueror to resubmit the file.



Actual Results:  
3.
Result:
 1 Error, 4 warning(s)

5.
Konqueror asks whether it should resubmit the file.

6. 
Result:
 1 Error, 4 warning(s)

Expected Results:  
6.
Result:
 Tentatively passed

OS: Linux (x86_64) release 2.6.34.7-0.3-desktop
Compiler: gcc

Workaround:
7.
Return to the file submission page, reselect the file to validate and resubmit.
Comment 1 Christopher Yeleighton 2010-10-04 01:36:11 UTC
___
[1] <URL:http://validator.w3.org/>
Comment 2 groot 2012-07-23 21:16:20 UTC
In KDE 4.7.2, reload (F5) in Konqueror re-sends the *current* file contents, not the cached file contents.
Comment 3 Christopher Yeleighton 2014-03-22 17:22:44 UTC
The correct command is of course:

cat >'/tmp/Konq-bug.html' <<'<!-- EOF -->' 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" > 
<META HTTP-EQUIV=CONTENT-TYPE CONTENT="TEXT/HTML; CHARSET=ISO-8859-1" >
<TITLE >KDE Bug ####</TITLE > <P >R 
<!-- EOF -->

When I refresh in Konqueror 4.11, Konqueror does not repost anything (neither the old file nor the new one).
Comment 4 Andrew Crouthamel 2018-11-11 04:26:19 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-11-21 04:38:10 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Christoph Cullmann 2024-05-06 20:54:12 UTC
Dear user,

KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6.

Please migrate to use a QWebEngine based HTML component.

We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes.

For security issues, please see:

https://kde.org/info/security/

Sorry that we did not fix this issue during the life-time of KHTML.

Greetings
Christoph Cullmann