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] Ensure keywords string does not exceed database field length #3322

Merged
merged 1 commit into from
Aug 25, 2022

Conversation

sascha-egerer
Copy link
Collaborator

What this pr does

The keywords field of the statistics database is only 128 characters
long. If a search keyword with more than 128 chars is used, the
database insert fails if statistics are enabled.

How to test

  1. enable statistics
  2. use a search term with more than 128 characters

Fixes: #3321

The keywords field of the statistics database is only 128 characters
long. If a search keyword with more than 128 chars is used, the 
database insert fails if statistics are enabled.
@sascha-egerer sascha-egerer changed the title Ensure keywords string does not exceed database field length [BUGFIX] Ensure keywords string does not exceed database field length Aug 15, 2022
@dkd-kaehm dkd-kaehm merged commit bfd39a5 into TYPO3-Solr:main Aug 25, 2022
dkd-kaehm pushed a commit to dkd-kaehm/ext-solr that referenced this pull request Aug 25, 2022
The keywords field of the statistics database is only 128 characters
long. If a search keyword with more than 128 chars is used, the 
database insert fails if statistics are enabled.

Fixes: TYPO3-Solr#3321
Ports: TYPO3-Solr#3322
dkd-kaehm pushed a commit that referenced this pull request Aug 25, 2022
The keywords field of the statistics database is only 128 characters
long. If a search keyword with more than 128 chars is used, the 
database insert fails if statistics are enabled.

Fixes: #3321
Ports: #3322
dkd-kaehm pushed a commit to dkd-kaehm/ext-solr that referenced this pull request Aug 26, 2022
The keywords field of the statistics database is only 128 characters
long. If a search keyword with more than 128 chars is used, the 
database insert fails if statistics are enabled.

Fixes: TYPO3-Solr#3321
Ports: TYPO3-Solr#3322
dkd-kaehm pushed a commit that referenced this pull request Aug 26, 2022
The keywords field of the statistics database is only 128 characters
long. If a search keyword with more than 128 chars is used, the 
database insert fails if statistics are enabled.

Fixes: #3321
Ports: #3322
@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] Statistics database insert fails for long search terms
2 participants