Closed severinbeauvais closed 3 years ago
This is now deployed to all UIs listed above (in Dev).
This change is not directly visible to the user. However, when opening a new page on a UI (ie, not navigating from BCROS home page), you should see:
no "PAYBC (Not Found)" error in the dev console
a Pay System Alert banner under the header indicating when PayBC is not available (or whatever status they put there) (*); this code was present previously but would not have worked due to the missing session key; you may be able to work with Relationships team to set the status to see this banner
(*) this is only implemented in Filings UI atm
Description
Some SBC common components (like SbcHeader) expect to find some session keys in order to function corrrectly. (See root issue in #6801.)
As a temporary workaround, THIS ticket is to add the following keys to all Entity UIs:
(Example: see https://github.com/bcgov/business-create-ui/blob/7e87e969cdc120acf449b071a16c54cd66645238/src/utils/config-helper.ts#L43)
The subject Entity UIs are:
Please ensure the key/values exist in the local configuration files (public/config/configuration.json).
Please ensure the key/values exist in the config maps in OCP (for each UI, for each environment). If not, follow up with @pwei1018 to load them accordingly.