gs.getSession().getProperty("nav_to") return $sp while another portal is set as default

mpo
Giga Contributor

Hi,

I am having an issue where in some scenarios, end users are redirected to the OOTB /sp Service Portal while the default Service Portal is another one.

I have identified that the issue comes from the SPEntryPage Script Include where the following:

var session = gs.getSession();
var nt = session.getProperty("nav_to");

Leads to

nt = "$sp.do?";

More details:

This is happening when an end user tries to open the old "/ess" CMS while being logged out.
A link in then proposed to the user so they can open the new portal. But since the user is not connected, they have to enter credentials first. The system then identify them as end users with no role and redirects to "/$sp.do?".

This is not happening when a user logs in normally (meaning they didn't try to open /ess first).

Thank you,

Maxime

1 ACCEPTED SOLUTION

mpo
Giga Contributor

The issue was that "Ignore cache" had been unchecked in the "glide.entry.first.page.script" sys_property.

View solution in original post

5 REPLIES 5

mpo
Giga Contributor

The issue was that "Ignore cache" had been unchecked in the "glide.entry.first.page.script" sys_property.