掲示板

Redirect action problem

11年前 に Dan Scully によって更新されました。

Redirect action problem

Junior Member 投稿: 48 参加年月日: 11/10/13 最新の投稿
I've created a custom redirect action (extending Action ) that checks if a user is logged in using
 return themeDisplay.isSignedIn();


This works fine except for one place in the portal: the dockbar. When I press the "Manage" button and then select e.g. "Page" (the first on the list), then a usual pop-up is displayed.

What I'd expect is that the page-management page would load - just as usual. Unfortunately my redirect action comes into play and says that the request in not authenticated -
 themeDisplay.isSignedIn();
returns false.

Why? How can I modify my redirect to work with this JavaScript request?

--
Edit: I found this log entry before making the request to the "page-management" page: WARN [ThemeLocalServiceImpl:149] No theme found for specified theme id . Returning the default theme. This happens on one machine - and then the theme says there is a signed-in user. On the other machine, there is no user signed in.

But there is a p_p_auth token present...
11年前 に Dan Scully によって更新されました。

RE: Redirect action problem

Junior Member 投稿: 48 参加年月日: 11/10/13 最新の投稿
bump
11年前 に Dan Scully によって更新されました。

RE: Redirect action problem

Junior Member 投稿: 48 参加年月日: 11/10/13 最新の投稿
anybody? emoticon
11年前 に Dan Scully によって更新されました。

RE: Redirect action problem

Junior Member 投稿: 48 参加年月日: 11/10/13 最新の投稿
final bump ;(