? Success

User tests: Successful: Unsuccessful:

avatar Bakual
Bakual
5 Dec 2016

Pull Request for Issue ##12945 .

Summary of Changes

  • Changes code so the return value passed in the request (eg from a readmore link) takes precedence over redirect settings from a menu item param.
  • Removed the "fallback to profile view" code in the model. This is not needed since the controller does the same as well.

Testing Instructions

From original issue:

  • Install a clean staging.
  • Create an article set to registered with a Read More and set Show Unauthorised Links to Yes.
  • Create a menu item to display that article and set Show Unauthorised Links to Yes.
  • Create a Login Menu item which will display on the same page as the single article menu item.
  • Add a login redirection to that login menu item to anything else that the single article menu item created above.
  • Display the article in frontend.
  • Click on the "Register to Read More..."

After login, it is expected to be redirected to the full article after this PR, prior you were redirected according to menu item settings.

Of course try other settings (eg no redirect set, regular login, ...)

Documentation Changes Required

None

avatar Bakual Bakual - open - 5 Dec 2016
avatar Bakual Bakual - change - 5 Dec 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Dec 2016
Category Front End com_users
avatar brianteeman brianteeman - change - 5 Dec 2016
Easy No Yes
avatar brianteeman
brianteeman - comment - 5 Dec 2016

I have tested this item successfully on 0472343


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13089.

avatar brianteeman brianteeman - test_item - 5 Dec 2016 - Tested successfully
avatar infograf768
infograf768 - comment - 5 Dec 2016

I have tested this item successfully on 0472343


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13089.

avatar infograf768 infograf768 - test_item - 5 Dec 2016 - Tested successfully
avatar infograf768 infograf768 - change - 5 Dec 2016
Status Pending Ready to Commit
avatar infograf768
infograf768 - comment - 5 Dec 2016

Also tested on multilingual site.
Thanks!

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13089.

avatar jeckodevelopment jeckodevelopment - change - 5 Dec 2016
Milestone Added:
avatar rdeutz rdeutz - change - 6 Dec 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-12-06 22:32:30
Closed_By rdeutz
avatar rdeutz rdeutz - close - 6 Dec 2016
avatar rdeutz rdeutz - merge - 6 Dec 2016
avatar rdeutz rdeutz - reference | 97a6e9f - 6 Dec 16
avatar rdeutz rdeutz - merge - 6 Dec 2016
avatar rdeutz rdeutz - close - 6 Dec 2016

Add a Comment

Login with GitHub to post a comment