| Summary: | Stale content in Git diff viewer | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John Arthorne <john.arthorne> |
| Component: | Git | Assignee: | Project Inbox <orion.git-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P2 | CC: | gheorghe, libingw |
| Version: | unspecified | ||
| Target Milestone: | 8.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
John Arthorne
Looked at the network tab in hte debugger. The diff returned from the server is stale. Inline view displays a merged version of the text that depends on the diff. The side by side view shows the actual text by requesting the file contents and that is why it is correct. Not sure why it only happens in IE. Need further investigations... It turned out to be hte IE caching issue. In bullet 9 here http://stackoverflow.com/questions/16971831/better-way-to-prevent-ie-cache-in-angularjs, it talks about how to prevent this from IE. I gave it a quick try in gitPlugin.js and it seems working : headers: { "Orion-Version": "1", "Cache-Control": "no-cache, no-store, must-revalidate", "Pragma": "no-cache", "Expires": 0 }, Turned out to be a fix on the server side. http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=75fb396f72a0946661a7c420330b19648b60d570 To verify the fix in IE, if you have previous testing files, you have to use IE's dev tool to clear browser cache once. |