Skip to content
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] Shortcircuit work in SolrRoutingMiddleware #3339

Merged

Conversation

christophlehmann
Copy link
Contributor

@christophlehmann christophlehmann commented Aug 31, 2022

What this pr does

Shortcircuit work in SolrRoutingMiddleware like in PageIndexerFinisher: When a request does not have the X-Tx-Solr-Iq header, then it's not interesting for the Solr extension.

Background: Superflous logging 'Could not resolve page by path...' to Solr logfile.

How to test

  • Index a page, see that its indexed correctly
  • You don't see superflous logging for non-existing url paths

Fixes: #3202

@christophlehmann christophlehmann force-pushed the fix-3202-superflous-logging branch 2 times, most recently from 0805a95 to d422688 Compare August 31, 2022 11:04
Copy link
Collaborator

@dkd-kaehm dkd-kaehm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@christophlehmann
Thanks for fixing that issue.

We want back-ports.
Is EXT:solr 11.2.x affected as well?

@christophlehmann
Copy link
Contributor Author

Yes, 11.2 ist affected as well. You can cherry-pick it without further changes.

Shortcircuit work in SolrRoutingMiddleware like in PageIndexerFinisher: When a request does not have the X-Tx-Solr-Iq header, then it's not interesting for the Solr extension.

Background: Superflous logging 'Could not resolve page by path...' to Solr logfile.

Relates: TYPO3-Solr#3202
@dkd-kaehm dkd-kaehm force-pushed the fix-3202-superflous-logging branch from d422688 to 320be8e Compare September 9, 2022 09:18
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this pull request Sep 9, 2022
Shortcircuit work in SolrRoutingMiddleware like in PageIndexerFinisher: When a request does not have the X-Tx-Solr-Iq header, then it's not interesting for the Solr extension.

Background: Superflous logging 'Could not resolve page by path...' to Solr logfile.

Relates: TYPO3-Solr#3202
Ports: TYPO3-Solr#3339
dkd-kaehm pushed a commit to dkd-kaehm/ext-solr that referenced this pull request Sep 9, 2022
Shortcircuit work in SolrRoutingMiddleware like in PageIndexerFinisher: When a request does not have the X-Tx-Solr-Iq header, then it's not interesting for the Solr extension.

Background: Superflous logging 'Could not resolve page by path...' to Solr logfile.

Relates: TYPO3-Solr#3202
Ports: TYPO3-Solr#3339
dkd-kaehm added a commit that referenced this pull request Sep 23, 2022
Shortcircuit work in SolrRoutingMiddleware like in PageIndexerFinisher: When a request does not have the X-Tx-Solr-Iq header, then it's not interesting for the Solr extension.

Background: Superflous logging 'Could not resolve page by path...' to Solr logfile.

Relates: #3202
Ports: #3339
dkd-kaehm pushed a commit that referenced this pull request Sep 23, 2022
Shortcircuit work in SolrRoutingMiddleware like in PageIndexerFinisher: When a request does not have the X-Tx-Solr-Iq header, then it's not interesting for the Solr extension.

Background: Superflous logging 'Could not resolve page by path...' to Solr logfile.

Relates: #3202
Ports: #3339
@dkd-kaehm dkd-kaehm merged commit b9871ef into TYPO3-Solr:main Sep 23, 2022
@josefglatz
Copy link
Contributor

@christophlehmann The change is already in v 11.2 but the log entries doesn't stop (within TYPO3 10)

@dkd-kaehm
Copy link
Collaborator

@christophlehmann The change is already in v 11.2 but the log entries doesn't stop (within TYPO3 10)

@josefglatz
Please make sure dev-release-11.2.x is loaded. There is no stable 11.2.x release now with this change.

@josefglatz
Copy link
Contributor

josefglatz commented Oct 20, 2022 via email

@dkd-kaehm dkd-kaehm mentioned this pull request Oct 13, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] SolrRoutingMiddleware does not work when using route enhancer on root page
3 participants