Issue Details (XML | Word | Printable)

Key: JRA-14724
Type: Third-party issue Third-party issue
Status: Resolved Resolved
Resolution: Not a bug
Priority: Major Major
Assignee: Justus Pendleton [Atlassian]
Reporter: Travis
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JIRA

"Next" button on Step 1 of "Create New Issue" wizard doesn't work in Safari after clicking the back button

Created: 28/Mar/08 04:40 PM   Updated: 13/Aug/08 08:42 PM
Component/s: Web interface
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Original Estimate: Not Specified
Remaining Estimate: 0 minutes
Time Spent - 7 hours, 30 minutes
Time Spent: 7 hours, 30 minutes
Time Spent - 7 hours, 30 minutes

Environment: Safari 3.1 for Windows. I've observed the problem on our local Jira installation, on JetBrains' installation, and on Atlassian's installation.
Issue Links:
Duplicate
 
Reference
 

Participants: Anton Mazkovoi [Atlassian], Brian Lane [Atlassian], Dushan Hanuska [Atlassian], Jed Wesley-Smith [Atlassian], Justus Pendleton [Atlassian] and Travis
Since last comment: 7 weeks, 5 days ago
Resolution Date: 13/Aug/08 08:42 PM
Labels:


 Description  « Hide
1. in Safari, log into Jira
2. click "Create New Issue"
3. select a project and an issue
4. click Next
5. click the browser's back button
6. click Next again.
Nothing happens

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Anton Mazkovoi [Atlassian] added a comment - 30/Mar/08 05:17 PM
It looks like Safari saves the JavaScript state of the page, which breaks things. We need to verify this.

Using caching headers we disallow the browser from caching the pages. It looks like Safari ignores these caching headers. Therefore it looks like a Safari bug. We need to verify this, look for an open bug with Safari and if one does not exist, create a new one.

This problem might also prevent us from implementing JRA-14031, as removing the "no-store" value from Cache-Control could break this behaviour on other browsers. Need to check.


Dushan Hanuska [Atlassian] added a comment - 14/Apr/08 12:19 AM
Hi Travis,

I investigated this issue to a great extent. Unfortunately, this seems to be a bug that was introduced in Safari 3.1 for Windows (Safari 3.0.4, which I tested, works fine).

The problem is that Safari 'remembers' the form's values and JavaScript variables - seems like some sort of caching problem. I tried to create a workaround where I would 'reset' the remembered value (that is used in JIRA to prevent re-submitting the form twice) via window.onload handle. Unfortunately, I hit the wall there as well as Safari does not seem to execute the onload function when you return to the page via back button.

I think that I have spent enough time investigating this issue and given that Safari is not quite popular browser choice on Windows and the fact that is a browser bug, I decided to close this bug as "Won't Fix" hoping that one day Apple will fix Safari on Windows.

Kind regards,
Dushan


Dushan Hanuska [Atlassian] added a comment - 14/Apr/08 12:44 AM
I logged this Safari bug with WebKit https://bugs.webkit.org/show_bug.cgi?id=18472

Jed Wesley-Smith [Atlassian] added a comment - 12/May/08 07:06 PM
related to the FF bfcache. We need to fix.

Anton Mazkovoi [Atlassian] added a comment - 12/May/08 07:28 PM
We need to add a onView (or something like that) to the page so that we reset the state of the submit button.

Chris Owen knows a great deal about this.


Brian Lane [Atlassian] added a comment - 07/Aug/08 09:16 PM
Interesting that I can't repro this anymore with safari (3.1.2) and JIRA 3.13 on EACJ.

Justus Pendleton [Atlassian] added a comment - 13/Aug/08 08:42 PM
Verified that current versions of Safari (3.1.2) on Mac & Windows behave as expected. I guess Apple fixed this upstream.