User tests: Successful: Unsuccessful:
Without the view=login parameter JRoute can not resolve the Itemid.
So the menu item assigned to 'login' view is not active.
Create a menu item for the login page (option=com_users&view=login).
Create an article with :
Article -> Access level : Registered
Article -> Properties: "Link not authorized" = "Yes".
Create a menu item for this article :
Article -> Properties: "Link not authorized" = "Yes". (to be sure)
Click on the menu item (you must not be logged in frontend)
You are redirected to the login page but the right menu item is not active.
You are redirected to the login page and the right menu item is active.
Seems there is a related hack here:
/com_content/views/article/tmpl/default.php ~line 143
This can also cause problems with third party extensions like sh404sef.
Status | New | ⇒ | Pending |
Category | ⇒ | Front End com_content |
I have tested this item
Using PR: Click on "Registered Article Menu" send User to Login-Menu.
Without PR: Click on "Registered Article Menu" send User to Home-Menu showing Login-Form.
Status | Pending | ⇒ | Ready to Commit |
Ready to Commit after two successful tests.
I do not have this issue here. I even tested on a multilingual site. Will test with the PR.
the PR does not break it either.
@infograf768 In the last staging, you get this without the PR
@infograf768 please have a look: http://wohlkoenig.joomla.com/index.php/author-login?return=aHR0cDovL3dvaGxrb2VuaWcuam9vbWxhLmNvbS9pbmRleC5waHAvMjA3MzI=
Click on Menu "Blog", then click on Menu "20732": You are moved to Menu "Author Login", cause Patch is applied.
@infograf768 if you wan't i can revert Patch. Then you got move to Menu "Blog" after click on "20732".
Oh, you mean when there is a menu item to display a registered article. I misunderstood. My fault as I did not read correctly the instructions.
I was testing a ReadMore... Sorry again.
@infograf768 so i can revert Test?
All is fine. I had not posted a negative test. :)
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-06-18 02:48:08 |
Closed_By | ⇒ | mbabker | |
Labels |
Added:
?
|
Thank you very much for the tests and comments.
I have tested this item✅ successfully on 01c5d40
I think this is more like
JRoute
need try to find the default view. Not sure if this behavior is part of JRoute.This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20732.