Duplicate ID issue in SAP FIORI Launchpad Service while trying to hide the shell header
SAPUI5 version:1.71.41
Browser/version (+device/version):
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible):
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:
1.Try to include the following code in Component.js and deploy the apps to cloud foundry.
if (sap.ushell.Container) {
var oRenderer = sap.ushell.Container.getRenderer("fiori2");
oRenderer.setHeaderVisibility(false);
}
2.Navigate to the app from shell home and click application's back functionality since we are hiding the header.
var oHistory = History.getInstance();
var sPreviousHash = oHistory.getPreviousHash();
if (sPreviousHash === undefined) {
window.history.go(-1);
}
3.For the first time it works fine and when trying to navigate again it gives the error as attached.
What is the expected result? Expected to navigate perfectly without errors since the same logic works fine in SAP WEBIDE with UI5 Version 1.52.47
What happens instead?
Any other information? (attach screenshot if possible)

Hi @Abhi0806
The sap.ushell namespaced code is part of SAPUI5 not of OPENUI5. GitHub is a place for managing issues for OPENUI5 only.
Please, open a ticket in SAP ticket system for managing incidents.