User tests: Successful: Unsuccessful:
Pull Request for Issue #15730.
Add check that current is not the homepage menu itemid, then check the user has access before applying the Itemid.
Before patch, set the homepage as a 'Registered' Access level menu on a blank install. And access the menu, any menu item will do.
You are redirected to a login page.
You end up in a redirect loop.
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Labels |
Added:
?
|
Can we please ensure there is a test on a multilanguage site - we might need to add this check to the if
statement above it as well - just on code review. It might be ok.
I have tested this item
Tested on a mongolanguage and multilanguage site. Seems to redirect correctly! Nice job!
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC after two successful tests.
It is not enough to make sure this patch fixes a problem we also need to make sure it doesn't has a side effect. This need intensive testing.
Re 3.7.2, we are at the end of the release process, more or less hitting the publish button is missing, so this here is too late for 3.7.2.
Works fine on multilang.
Labels |
Added:
?
|
I took a 3.6.5 web site and made the home page registered only AND made sure there was no login menu item
Loading the site on the front end I am taken to index.php/component/users/?view=login and can login
I upgraded the site to 3.7.1 and I get the "too many redirects" issue
I applied the patch and once again it is working and I am taken to index.php/component/users/?view=login and can login
So this is a successful test.
NOTE if you have a login menu item then you would not have needed this patch at all
I have tested this item
@infograf768 could you please add a confirmed test if you have tested it on multilingual sites?
I have tested this item
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-23 09:14:11 |
Closed_By | ⇒ | wilsonge |
4 good tests - I'm merging this
I really dont see the need to rush this into 3.7.2 when it is easily fixed by anyone right now who has this issue by adding a login menu item and this can be added to the docs
3.7.2 packs are ready. Last night merges as well as this one will be in 3.7.3
whilst that is true @brianteeman It's about the people who upgrade their sites and have no clue about why their site has suddenly gone down with redirect loops. And another user in the original posts has tons of websites to update, doing so would cause them all to go down when he updates via the update manager.
We're not merging this into 3.7.2 - hence why I've merged it with a 3.7.3 milestone
Wondering why travis didn't run on this, on jenkins one unit test is falling
thanks! I see fix will be on 3.7.3 . OK will manually replace and fix the site until them
@tonypartridge
Please redo your PR. We have to make sure tests are not failing.
I blame @brianteeman 's language changes ;-) Will do it now.
they were in comments !!
@tonypartridge can you take a look into drone? http://213.160.72.75/joomla/joomla-cms/4442 ?