Message Boards
Getting 'the requested resource couldn't be found'
Getting 'the requested resource couldn't be found'
New Member Post: 1 Join Date: 9/6/21 Recent PostsHi everyone,
I'm looking for help with below problem:
I created a hook, which intercepts each request. On some
special requests (authentication via 3rd party system) I need to
update logged in unsers roles and groups.
After that, eventually I have to send a redirect, to take the
user to a new page. In some cases, the new loaded Page shows the red
'the requested resource couldn't be found' error message. Although the
page is loaded properly and shown below the error message.
Is there something I have to do after updating the user? Any
reload task or cache update?
I tried both, setting roles and groups using
Role/UserGroupLocalServiceUtil, setting roles in user-object and use
UserLocalServiceUtil.updateUser and both simultanously.
Any help help is appreciated....
Thanks in advance
Tim