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:11.5] Exception with tx_solr_statistics after latest TYPO3 security update #3880

Merged

Conversation

dkd-kaehm
Copy link
Collaborator

Note: This change requires the database schema update.

With the Security update at November, 14th 2023 the cookie generation changed in the TYPO3 core.

This leads to an exception, when executing the search and statistics are enabled.

Reason is, that the generated cookies are longer than the old ones and do not fit in the tx_solr_statistics.cookie any more. The available length is 32 chars, TYPO3 core allows up to 190.

This change increases the length of tx_solr_statistics.cookie field to 255 characters. Beside of that, the deprecated method to fetch the fe_user cookie value is adjusted to new TYPO3 API.

Fixes: #3877

@dkd-kaehm dkd-kaehm changed the title !!! [BUGFIX:11.5] Exception with tx_solr_statistics after latest TYPO3 security update !!![BUGFIX:11.5] Exception with tx_solr_statistics after latest TYPO3 security update Nov 15, 2023
@dkd-kaehm dkd-kaehm force-pushed the bugfix/3877_stats_cookie.11.5.x branch from 6add4ff to ec83b3d Compare November 15, 2023 12:21
dkd-kaehm added a commit that referenced this pull request Nov 15, 2023
…rity update

**Note:** This change requires the database schema update.

With the Security update at November, 14th 2023 the cookie generation changed in the TYPO3 core.

This leads to an exception, when executing the search and statistics are enabled.

Reason is, that the generated cookies are longer than the old ones and do not fit in the tx_solr_statistics.cookie any more. The available length is 32 chars, TYPO3 core allows up to 190.

This change increases the length of `tx_solr_statistics.cookie` field to 255 characters. Beside of that, the removed in TYPO3 12 method to fetch the fe_user cookie value is adjusted to new TYPO3 API and is functional now.

Fixes: #3877
Ports: #3880
…rity update

**Note:** This change requires the database schema update.

With the Security update at November, 14th 2023 the cookie generation changed in the TYPO3 core.

This leads to an exception, when executing the search and statistics are enabled.

Reason is, that the generated cookies are longer than the old ones and do not fit in the tx_solr_statistics.cookie any more. The available length is 32 chars, TYPO3 core allows up to 190.

This change increases the length of `tx_solr_statistics.cookie` field to 255 characters. Beside of that, the deprecated method to fetch the fe_user cookie value is adjusted to new TYPO3 API.

Fixes: TYPO3-Solr#3877
@dkd-kaehm dkd-kaehm force-pushed the bugfix/3877_stats_cookie.11.5.x branch from ec83b3d to 46c1a33 Compare November 15, 2023 12:51
dkd-kaehm added a commit that referenced this pull request Nov 15, 2023
…rity update

**Note:** This change requires the database schema update.

With the Security update at November, 14th 2023 the cookie generation changed in the TYPO3 core.

This leads to an exception, when executing the search and statistics are enabled.

Reason is, that the generated cookies are longer than the old ones and do not fit in the tx_solr_statistics.cookie any more. The available length is 32 chars, TYPO3 core allows up to 190.

This change increases the length of `tx_solr_statistics.cookie` field to 255 characters. Beside of that, the removed in TYPO3 12 method to fetch the fe_user cookie value is adjusted to new TYPO3 API and is functional now.

Fixes: #3877
Ports: #3880
@dkd-kaehm dkd-kaehm merged commit bc6a4d9 into TYPO3-Solr:release-11.5.x Nov 15, 2023
8 checks passed
@dkd-kaehm dkd-kaehm deleted the bugfix/3877_stats_cookie.11.5.x branch November 15, 2023 14:19
dkd-kaehm added a commit that referenced this pull request Nov 15, 2023
…rity update

**Note:** This change requires the database schema update.

With the Security update at November, 14th 2023 the cookie generation changed in the TYPO3 core.

This leads to an exception, when executing the search and statistics are enabled.

Reason is, that the generated cookies are longer than the old ones and do not fit in the tx_solr_statistics.cookie any more. The available length is 32 chars, TYPO3 core allows up to 190.

This change increases the length of `tx_solr_statistics.cookie` field to 255 characters. Beside of that, the removed in TYPO3 12 method to fetch the fe_user cookie value is adjusted to new TYPO3 API and is functional now.

Fixes: #3877
Ports: #3880
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this pull request Nov 17, 2023
This is a maintenance release for TYPO3 11.5 and the last release that supports Apache Solr 8.11. Next EXT:solr release for TYPO3 11.5 will be 11.6.0, it
will contain support for Apache Solr 9 and some breaking improvements.

**Note:** This release requires the database schema update, due of database schema change from pull-request TYPO3-Solr#3880

Please read the release notes:
https://github.com/TYPO3-Solr/ext-solr/releases/tag/11.5.4

---

How to Get Involved

There are many ways to get involved with Apache Solr for TYPO3:

* Submit bug reports and feature requests on GitHub
* Ask or help or answer questions in our Slack channel
* Provide patches through pull requests or review and comment on
existing pull requests
* Go to www.typo3-solr.com or call dkd to sponsor the ongoing
development of Apache Solr for TYPO3

Support us by becoming an EB partner:
https://shop.dkd.de/Produkte/Apache-Solr-fuer-TYPO3/

or call:
+49 (0)69 - 2475218 0

Resolves: TYPO3-Solr#3782
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this pull request Nov 17, 2023
This is a maintenance release for TYPO3 11.5 and the last release that supports Apache Solr 8.11. Next EXT:solr release for TYPO3 11.5 will be 11.6.0, it
will contain support for Apache Solr 9 and some breaking improvements.

**Note:** This release requires the database schema update, due of database schema change from pull-request TYPO3-Solr#3880

Please read the release notes:
https://github.com/TYPO3-Solr/ext-solr/releases/tag/11.5.5

---

How to Get Involved

There are many ways to get involved with Apache Solr for TYPO3:

* Submit bug reports and feature requests on GitHub
* Ask or help or answer questions in our Slack channel
* Provide patches through pull requests or review and comment on
existing pull requests
* Go to www.typo3-solr.com or call dkd to sponsor the ongoing
development of Apache Solr for TYPO3

Support us by becoming an EB partner:
https://shop.dkd.de/Produkte/Apache-Solr-fuer-TYPO3/

or call:
+49 (0)69 - 2475218 0

Resolves: TYPO3-Solr#3782
dkd-kaehm added a commit that referenced this pull request Nov 17, 2023
This is a maintenance release for TYPO3 11.5 and the last release that supports Apache Solr 8.11. Next EXT:solr release for TYPO3 11.5 will be 11.6.0, it
will contain support for Apache Solr 9 and some breaking improvements.

**Note:** This release requires the database schema update, due of database schema change from pull-request #3880

Please read the release notes:
https://github.com/TYPO3-Solr/ext-solr/releases/tag/11.5.5

---

How to Get Involved

There are many ways to get involved with Apache Solr for TYPO3:

* Submit bug reports and feature requests on GitHub
* Ask or help or answer questions in our Slack channel
* Provide patches through pull requests or review and comment on
existing pull requests
* Go to www.typo3-solr.com or call dkd to sponsor the ongoing
development of Apache Solr for TYPO3

Support us by becoming an EB partner:
https://shop.dkd.de/Produkte/Apache-Solr-fuer-TYPO3/

or call:
+49 (0)69 - 2475218 0

Resolves: #3782
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.

None yet

1 participant