Article Details
Id: | 17276 |
Product: | finPOWER Connect |
Type: | FIX |
Version: | 3.03.03 |
Opened: | 11/08/2020 |
Closed: | 26/08/2020 |
Released: | 01/10/2020 |
Job: | J024809 |
![]() |
Portals; mPortalHandler.PortalPageId was inconsistent when calling a Master Page event
When calling an event in the Master Page, i.e., in the Portal Script Code, checking the value of mPortalHandler.PortalPageId was inconsistent.
By design, Master Page events should be passed all parameters that they require, including a PageId if that is required.
However, it makes sense that the Master Page is aware of the page from which it is being executed. therefore, any checks of mPortalHandler.PortalPageId are now reliable from Master Page events.
NOTE: Behind the scenes, a new system-parameter names "portalUrl" is not passed with every MasterPage request. This is then parsed when the event is executed.