Custom favorite icon in the pyPortalIcon rule does not display
Custom favorite icon does not display when using the Internet Explorer or Edge browser on a Windows 10 operating system.
Steps to Reproduce
- Configure a custom favorite icon in the pyPortalIcon rule
- Launch the Pega instance
On requesting the first time, the Edge or Internet Explorer browser retrieves this icon from a fixed location (application server will have a default favorites icon). For example, <ip-address>:<port>/favicon.icon.
In case of a Tomcat application server, the default it is a Tomcat icon, and the browser is displaying it as the favorite icon. There are no further requests by the browser to update the icon based on what is specified in HEAD tag.
This is specifically a Windows 10 issue. It behaves the same way outside of a Pega application as well.
Perform the following local-change:
Upload the custom icon to the application server (where prweb is deployed) and set the name as 'favicon.ico'. For example, in case of a Tomcat server there is a default favicon with name 'favicon.ico' inside \webapps\ROOT folder. Replace it with your custom favicon.