Microsoft IE and Edge doesn't like relative path on Angular apps

Description

H19 has received a huge refactoring in terms of JavaScript applications, and part of that work was replacing GWT with Angular.

Everything works as expected on real browsers like Chrome, FireFox and Safari on any operating system, but with IE and Edge, you'll get "Page Not Found" from several Angular apps, due to how the relative URLs are handled when modifying window.location.href.

The only workaround I found so far is by using FULL URLs, I mean, http://localhost:8980/opennms/graph/chooseresource.jsp instead of graph/chooseresource.jsp, because on IE/Edge you'll get http://localhost:8980/opennms/graph/graph/chooseresource.jsp as the generated page which is wrong.

Besides the choose resource page, I found that the requisitions UI, and the KSC pages suffers the same problem.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Alejandro Galue July 28, 2017 at 5:15 PM

Fixed

Details

Assignee

Reporter

Labels

Priority

PagerDuty

Created July 28, 2017 at 3:50 PM
Updated August 9, 2017 at 5:38 PM
Resolved August 8, 2017 at 4:11 PM

Flag notifications