on 2014 Dec 05 2:11 PM
I've got a Problem regarding Icons in UI5. If I test my Application in Eclipse (Eclipse as Webserver) all Icons are displayed well in my Browsers.
But If I Upload my UI5 App into the BSP Applikation on the Netweaversystem no Icons will be displayed.
In Chrome's Console I see the error message "GET sap-icon://travel-request net::ERR_UNKNOWN_URL_SCHEME".
I use the Icon in a ToolPopup like this:
oShell.addToolPopup( new sap.ui.ux3.ToolPopup( { title : "Title", icon : "sap-icon://activity-individual" } ) );
Has someone an idea why the my isn't working on the Netweaver system? I already tried to load the Icon javascript functions via
jQuery.sap.require("sap.ui.core.IconPool");
best regards,
Harald
There's a long-standing bug in Chromium regarding how links without protocols are handled. This error does not have a single solution till date because it arises due to a multitude of reasons. The ERR_UNKNOWN_URL_SCHEME error is commonly because of your browser issue . There's no application on your device which can handle that particular action. It is a Chromium bug . In Chrome version 40 and up, this bug has resurfaced, but only if you are manually entering the URL of the redirect page in the address bar. The bug in chromium is responsible, yet everytime a patch is added to solve, the error finds a new way to resurface. The issue is on the chromium issue tracker here.
Common solutions:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harald,
the message sounds like the browser is actually trying to resolve and load the URL, when it is supposed to be handled internally by UI5, mapping it to an entry in the icon font.
This points to the possibility that the control where you are using the icon is not yet supporting icon fonts. Support has started in the sap.m library and then extended to the "desktop" controls recently, so indeed the cause could be two different versions (check in the ctrl-alt-shift-S popup).
Regards
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
could be a problem with the Ui5 version on the netweaver system..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.