Details
-
Bug
-
Status: Closed
-
Top
-
Resolution: Fixed
-
2.26.07
-
Flagged
Description
Internet Explorer version: 9,10 and 11
hippo.release.version: 7.9.7
hippo.addon-channel-manager.version: 2.26.07
Reproduction
Either:
- Create a project using the archetype
- Add news support with essentials
- Add a "#" to the link to a news document
- Remove the any matchers from the hierarchy of the news links
Or:
Then:
- build and run the project
- Open the news overview page in the channel manager in IE 10.
- Open a news detail document.
Current Situation
- An error message is displayed and the detail page is not shown.
Desired Situation
- The detail page is shown.
Background
This issue popped up when integrating a angular app in the site.
Analysis
To quickly see what's happening execute [2] in the console and view the network trafic in both IE and in e.g. chrome.
A possible solution could be to add[4] at [3] in [1]. (With special thanks to Rik Smith from the NS)
[2]
xmlhttp = new XMLHttpRequest();xmlhttp.open('GET',"http://localhost:8080/site/news#test",true);xmlhttp.send()
[3]
_getFrameLocation: function() { var frameDocument, href; frameDocument = this._getFrameDocument(); if (frameDocument !== undefined && frameDocument.location !== undefined) { href = frameDocument.location.href; if (href !== undefined && href !== '' && href !== 'about:blank') { return href; } } return this._getFrameDom().src; },
[4]
href = frameDocument.location.href; if (href !== undefined && href !== '' && href !== 'about:blank') { return href.replace(frameDocument.location.hash,""); }