Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P02, 4.0
-
Fix Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03, 4.1
-
Component/s: Framework
-
Labels:None
-
Environment:IE8
-
Assignee Priority:P2
-
Support Case References:Support Case #13271 - https://icesoft.my.salesforce.com/50070000010bBlt
-
Workaround Exists:Yes
-
Workaround Description:Use redirect navigation, or possibly add ice: components to the page to avoid the HEAD region update (ice comps could be hidden).
Description
IE8 is crashing when doing a forward navigation to a page that has an outputText with escape=false. This outputText does have a special character in it "<".
This happens with both the ice:outputText and the h:outputText. There are no errors or exceptions thrown, just IE crashes.
This happens with both the ice:outputText and the h:outputText. There are no errors or exceptions thrown, just IE crashes.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Attached test case that shows this issue.
Steps:
- Load test.jsf in IE8
- Click the button on the page to execute a forward.
- IE8 will now crash.
Show
Arran Mccullough
added a comment - Attached test case that shows this issue.
Steps:
Load test.jsf in IE8
Click the button on the page to execute a forward.
IE8 will now crash.
Well, the last commit was not made to fix a problem but more for convenience, to avoid running in this corner case. The reason why you still see the crash is due once again to the update of the entire 'body' element in the page. This makes IE crash. When you navigate from one page that has ice:* components to one that doesn't an update is generated for the 'head' element to remove icefaces-compat.js and compat.js resources (same thing happened for ice:outputText which used to not require the compat resources). A 'head' element update will in turn trigger an update for the entire document, but in 3.3 we send only the update for the 'body' and optionally a separate update for the 'head'.
In conclusion I cannot fix this issue entirely, you (or the client) will have to setup the pages to avoid generating 'body' element updates. This might mean inserting ice:* components in the destination page just to avoid the changing the list of referenced resources in the 'head'. Defining mandatory resources would be another workaround.