-
-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUGFIX] Fix indexing of access protected pages #3811
[BUGFIX] Fix indexing of access protected pages #3811
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this finally!
Tests/Integration/IndexQueue/FrontendHelper/PageIndexerTest.php
Outdated
Show resolved
Hide resolved
11fef4e
to
e6a6981
Compare
I've added more tests and fixes, e.g. the test for invalid item handling. I did some minor, not directly related cleanup and improvements additionally, thus the commits shouldn't be squashed! |
Fixes indexing of access protected pages and/or page contents. Resolves: TYPO3-Solr#3735
Cleans and optimizes the frontend helper "PageIndexer" integration test. Failure test for non existing pages/sites is refactored and PageIndexer adapted, even if AfterCacheableContentIsGeneratedEvent is not dispatched e.g. as the page is not found, the response will always contain the pageIndexed flag. Additionally the methods of PageIndexer that were defined as public to simplify testing are now protected, the tests are adapted accordingly. If you have used this methods, you have to adapt your code. Affected methods: - setupConfiguration - index - indexPage Relates: TYPO3-Solr#3735
e6a6981
to
9121e87
Compare
This change is the follow-up of TYPO3-Solr@a6168bcc6 Relates: TYPO3-Solr#3735, TYPO3-Solr#3811
This change is the follow-up of TYPO3-Solr@a6168bcc6 Relates: TYPO3-Solr#3735, TYPO3-Solr#3811
This change is the follow-up of TYPO3-Solr@a6168bcc6 Relates: TYPO3-Solr#3735, TYPO3-Solr#3811
We have the same problem on v11 of this extension. Is this fix only for v12? |
@agendartobias Which version exactly? |
What this pr does
Fixes indexing of access protected pages and/or page contents.
How to test
Configure access protected pages/page contents and check indexing, e.g.
Resolves: #3735
Caution: PR contains an additional cleanup/improvement commit that is no directly related, commits shouldn't be squashed!