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

Fix the search indexer page detection #1670

Merged
merged 3 commits into from
May 1, 2020

Conversation

qzminski
Copy link
Member

Fix the default search indexer page ID detection failing on CLI due to missing the correct request context.

For example, the URLs could not be matched because of the host difference – in defined routes, it could be a domain name set in tl_page.dns field, whereas on CLI, the context always contained localhost as a host.

/cc @Toflar

@Toflar Toflar added the bug label Apr 21, 2020
@Toflar Toflar added this to the 4.9 milestone Apr 21, 2020
@Toflar
Copy link
Member

Toflar commented Apr 21, 2020

Failing tests unrelated.

@leofeyer leofeyer merged commit 652040c into contao:4.9 May 1, 2020
@leofeyer
Copy link
Member

leofeyer commented May 1, 2020

Thank you @qzminski.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants