When loading a homepage configured with a layout CMS 2 columns, the following warning is seen in the instance logs:
Caused by error in null.5 at line 1
==> 1: var isHomeOrContentPage = RP.getReferringURL().contains('home.do') || RP.getReferringURL().contains('ess/');
2: var isCanvasActive = gs.getProperty('glide.cms.enable.responsive_grid_layout', 'true') == 'true';
3: var isCanvas = isCanvasActive && !isHomeOrContentPage;
Steps to Reproduce
- Create a homepage.
- Change the layout to the one associated to CMS 2 Columns, which is 2 columns with wide right column, header, and footer.
Note that there are two layouts with this description; do not use CMS 2 Column Narrow Left, which has a narrow column on the left.
- Add some content to the homepage.
- Reload the homepage.
- Navigate to System Logs > Warnings
A new warning displays:
After carefully considering the severity and frequency of the issue, and the cost and risk of attempting a fix, it has been decided to not address this issue in any current or near future releases. We do not make these decisions lightly, and we apologize for any inconvenience.
This warning is raised whenever a UI Macro references "RP", however the code referencing RP does work, it just also adds a warning to the server log. See also PRB1099087/KB0693306, where enabling List v3 will raise the same warning in the server logs when loading sys_ui_list_control.
var isHomeOrContentPage = RP && RP.getReferringURL().contains('home.do') || RP.getReferringURL().contains('ess/');
Related Problem: PRB1234728