User tests: Successful: Unsuccessful:
An attempt to fix issue #4934
Get error explaining I'm not authorized to access the article since I'm not logged in.
Problem seemed to only be happening with Firefox.
Make sure to use an incognito/private browsing window to ensure that neither cookies nor the cache will affect the testing.
If you try accessing the article without ever having logged in, you'll get what was described in the "Expected result" section, so it's the logging in that's causing this behaviour after logging out.
This PR deals with the problem making the logout not spit out a "permanently moved" code.
Labels |
Added:
?
|
Labels |
Added:
?
|
jes it work
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5019.
SEF is causing strange issues in 3.3.6 - despite being in incognito on Firefox. I'd revisit this, make sure SEF is turned on because I can't reproduce the issue with SEF turned on.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5019.
I've been testing this for half an hour: When repeating the test, I got the same results: When in normal browser mode, the message pops up. When in Incognito Mode, after logging in and logging out again, the warning does not appear. However, looking closer shows me that I'm actually being redirected from the new Menu-Item back to the homepage. When debugging things using die() statements in the Joomla code, I can see that the Joomla index.php is never executed but Firefox itself is redirecting back to the Joomla homepage, based on the previous results. This seems like a caching issue with Firefox to me, not an issue with Joomla.
@test: Unable to confirm Joomla issue
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5019.
@clinchergt Can you verify the outcome by @yireo ?
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5019.
@yireo and @roland-d: sorry for taking so long. I read your comments and decided to check further. I've updated the PR with a, imo, better fix.
Apparently, that true I removed was returning a 301 code (page permanently moved). I'm guessing Firefox and IE handle this differently from Chrome, so that's why it wasn't happening on both. However, even if they do handle it differently, this redirect does not warrant a 301 code since the page hasn't been moved.
I'd appreciate a PR review and some testers :D
@infograf768: I'd appreciate your input here as well since you were also part of the discussion here: #4934
Thanks!
Hey @crystalenka and @RCheesley could I get you guys to test this fix once again? I'd appreciate it. Thanks!
Category | ⇒ | Plugins |
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
?
|
Milestone |
Added: |
Milestone |
Added: |
Milestone |
Removed: |
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-10-01 18:05:13 |
Closed_By | ⇒ | rdeutz |
Labels |
Removed:
?
|
Milestone |
Milestone |
Added: |
Milestone |
Added: |
Milestone |
Successful test - had to open the site in an incognito window due to cached redirects as recommended.
On application of patch the correct error message is displayed.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5019.