?
avatar bnb123
bnb123
19 Sep 2014

Steps to reproduce the issue

We have a multilanguage site (in our case "de-DE" as default and "en-GB" as second language) with restricted areas. When trying to enter a restricted area (en-GB) the Login-Component appears. Login with credentials.

Expected result

After sucessfull login the user should be redirected to the requested page.

Actual result

After sucessfull login the default redirect page (in this case the home page!) is shown. This problem occurs ONLY IN THE ENGLISH VERSION OF THE PAGE.

System information (as much as possible)

PHP 5.4.4
MySQL 5.5.38
Apache 2.0
Joomla! 3.3.3 Stable [ Ember ] 25-July-2014 13:00 GMT

Additional comments

It seems ther is some kind of problem with the BASE64-encoded "return"-string and the $app->getUserState in components/com_users/controllers/user.php.

Line 51: $app->setUserState('users.login.form.return', $data['return']);
here everything seems fine, $data['return'] equals the correct page-url! (something like "/en/?option=com_xy&lang=en&view=xy&Itemid=x")

Line 74: $app->redirect(JRoute::_($app->getUserState('users.login.form.return'), false));
When the UserState is retrieved later, in Line 74, it's value has changed to something generic as "index.php?&Itemid="

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar bnb123 bnb123 - open - 19 Sep 2014
avatar zero-24
zero-24 - comment - 19 Sep 2014

maybe this can help? #4208

Too test you can use the com_patchster https://github.com/joomla-extensions/patchtester/releases/download/2.0.beta/com_patchtester.zip as component in you joomla with this you can apply and test the PR

avatar zero-24 zero-24 - change - 19 Sep 2014
Category ACL Multilanguage Front End Multilanguage
avatar infograf768
infograf768 - comment - 20 Sep 2014

Could that be related to the user default language parameter? I.e. is the automatic_change implemented in the language filter plugin?

avatar zero-24 zero-24 - close - 22 Sep 2014
avatar bnb123
bnb123 - comment - 22 Sep 2014

@infograf768
ah, yes, that seems to solve the problem - so i guess this issue can be closed :-)

avatar bnb123 bnb123 - close - 22 Sep 2014
avatar bnb123 bnb123 - change - 22 Sep 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-09-22 06:00:16
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment