-
-
Notifications
You must be signed in to change notification settings - Fork 249
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] make CE search form in backend editable again #3626
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please don't do thin against main branch. Rebase the changes against release-11.5.x and change the target branch to the release-11.5.x branch. |
Especially on TYPO3 10 the userfunction to load the flex form configuration produced an error. Fixes: TYPO3-Solr#3622
dkd-kaehm
pushed a commit
to dkd-kaehm/ext-solr
that referenced
this pull request
May 22, 2023
Especially on TYPO3 10 the userfunction to load the flex form configuration produced an error. Fixes: TYPO3-Solr#3622 Ports: TYPO3-Solr#3626
dkd-kaehm
approved these changes
May 24, 2023
dkd-kaehm
added a commit
to dkd-kaehm/ext-solr
that referenced
this pull request
Jun 12, 2023
This is a maintenance release for TYPO3 11.5, containing: * [BUGFIX] make CE search form in backend editable again by @rr-it in TYPO3-Solr#3626 * [DOC] Fix wrong type for boostQuery in the docs and example by @dkd-kaehm in TYPO3-Solr@3e7ff72 Please read the release notes: https://github.com/TYPO3-Solr/ext-solr/releases/tag/11.5.3 --- 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
dkd-kaehm
added a commit
to dkd-kaehm/ext-solr
that referenced
this pull request
Jun 12, 2023
This is a maintenance release for TYPO3 11.5, containing: * [BUGFIX] make CE search form in backend editable again by @rr-it in TYPO3-Solr#3626 * [DOC] Fix wrong type for boostQuery in the docs and example by @dkd-kaehm in TYPO3-Solr@3e7ff72 * [TASK] Fix unit tests for 2023.06.07 by @dkd-kaehm in TYPO3-Solr#3695 Please read the release notes: https://github.com/TYPO3-Solr/ext-solr/releases/tag/11.5.3 --- 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
dkd-kaehm
added a commit
that referenced
this pull request
Jun 12, 2023
This is a maintenance release for TYPO3 11.5, containing: * [BUGFIX] make CE search form in backend editable again by @rr-it in #3626 * [DOC] Fix wrong type for boostQuery in the docs and example by @dkd-kaehm in 3e7ff72 * [TASK] Fix unit tests for 2023.06.07 by @dkd-kaehm in #3695 Please read the release notes: https://github.com/TYPO3-Solr/ext-solr/releases/tag/11.5.3 --- 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
dkd-friedrich
added a commit
to dkd-friedrich/ext-solr
that referenced
this pull request
Nov 6, 2023
This is a maintenance release for TYPO3 11.5 that contains the folling changes: - [TASK] Fix CI 2023.09.11 on release-11.5.x by @dkd-kaehm in TYPO3-Solr#3777 - [BUGFIX:BP:11.5] Fix EXT:solr route enhancer by @dkd-friedrich in TYPO3-Solr#3743 - [BUG] Fix detection of "draft records" in workspaces by @baschny in TYPO3-Solr#3642 - [BUGFIX] Do not index translations on default language in languages free mode by @dkd-kaehm in TYPO3-Solr#3786 - [BUGFIX:BP:11.5] Retry Uri Building after exception by @dkd-friedrich in TYPO3-Solr#3789 - [BUGFIX] Delete index documents without available site by @dkd-kaehm in TYPO3-Solr#3778 - [TASK:BP:11.5] Ensure recursive page update on page movement by @dkd-friedrich in TYPO3-Solr#3771 - [FEATURE:BP:11.5] Add index queue indices by @dkd-friedrich in TYPO3-Solr#3791 - [TASK:BP:11.5] Migrate top.fsMod by @dkd-friedrich in TYPO3-Solr#3795 - [BUGFIX:BP:11.5] Return value getPageItemChangedTime() must be of the type int by @dkd-kaehm in TYPO3-Solr#3813 - [TASK:BP:11.5] Remove duplicate withHeader() by @dkd-kaehm in TYPO3-Solr#3626 - [BUGFIX:BP:11.5] Do not list cores twice in Index Inspector by @dkd-kaehm in TYPO3-Solr#3818 - [BUGFIX] Fixes multiple sortings by @BastiLu in TYPO3-Solr#3762 - [BUGFIX:BP:11.5] Fix missing frontend.typoscript request attribute while indexing by @dkd-kaehm in TYPO3-Solr#3822 - [BUGFIX] Prevent indexing error on missing 'foreignLabelField' by @kitzberger in TYPO3-Solr#3740 - [BUGFIX:BP:11.5] Force score to float by @dkd-kaehm in TYPO3-Solr#3824 - [BUGFIX:BP:11.5] Fix possible notice by @dkd-kaehm in TYPO3-Solr#3825 - [DOC:BP:11.5] Add FAQ how to generate URLs to restricted pages by @dkd-kaehm in TYPO3-Solr#3826 - [BUGFIX:BP:11.5] Handle float values in options facet parser by @dkd-kaehm in TYPO3-Solr#3827 - [BUGFIX:BP:11.5] handle localizations with un-available tsfe more gracefully by @dkd-kaehm in TYPO3-Solr#3832 - [TASK] Update the version matrix by @dkd-friedrich in TYPO3-Solr#3859 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
dkd-friedrich
added a commit
to dkd-friedrich/ext-solr
that referenced
this pull request
Nov 6, 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. 11.5.4 contains the folling changes: - [TASK] Fix CI 2023.09.11 on release-11.5.x by @dkd-kaehm in TYPO3-Solr#3777 - [BUGFIX:BP:11.5] Fix EXT:solr route enhancer by @dkd-friedrich in TYPO3-Solr#3743 - [BUG] Fix detection of "draft records" in workspaces by @baschny in TYPO3-Solr#3642 - [BUGFIX] Do not index translations on default language in languages free mode by @dkd-kaehm in TYPO3-Solr#3786 - [BUGFIX:BP:11.5] Retry Uri Building after exception by @dkd-friedrich in TYPO3-Solr#3789 - [BUGFIX] Delete index documents without available site by @dkd-kaehm in TYPO3-Solr#3778 - [TASK:BP:11.5] Ensure recursive page update on page movement by @dkd-friedrich in TYPO3-Solr#3771 - [FEATURE:BP:11.5] Add index queue indices by @dkd-friedrich in TYPO3-Solr#3791 - [TASK:BP:11.5] Migrate top.fsMod by @dkd-friedrich in TYPO3-Solr#3795 - [BUGFIX:BP:11.5] Return value getPageItemChangedTime() must be of the type int by @dkd-kaehm in TYPO3-Solr#3813 - [TASK:BP:11.5] Remove duplicate withHeader() by @dkd-kaehm in TYPO3-Solr#3626 - [BUGFIX:BP:11.5] Do not list cores twice in Index Inspector by @dkd-kaehm in TYPO3-Solr#3818 - [BUGFIX] Fixes multiple sortings by @BastiLu in TYPO3-Solr#3762 - [BUGFIX:BP:11.5] Fix missing frontend.typoscript request attribute while indexing by @dkd-kaehm in TYPO3-Solr#3822 - [BUGFIX] Prevent indexing error on missing 'foreignLabelField' by @kitzberger in TYPO3-Solr#3740 - [BUGFIX:BP:11.5] Force score to float by @dkd-kaehm in TYPO3-Solr#3824 - [BUGFIX:BP:11.5] Fix possible notice by @dkd-kaehm in TYPO3-Solr#3825 - [DOC:BP:11.5] Add FAQ how to generate URLs to restricted pages by @dkd-kaehm in TYPO3-Solr#3826 - [BUGFIX:BP:11.5] Handle float values in options facet parser by @dkd-kaehm in TYPO3-Solr#3827 - [BUGFIX:BP:11.5] handle localizations with un-available tsfe more gracefully by @dkd-kaehm in TYPO3-Solr#3832 - [TASK] Update the version matrix by @dkd-friedrich in TYPO3-Solr#3860 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-friedrich
added a commit
to dkd-friedrich/ext-solr
that referenced
this pull request
Nov 6, 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. 11.5.4 contains the following changes: - [TASK] Fix CI 2023.09.11 on release-11.5.x by @dkd-kaehm in TYPO3-Solr#3777 - [BUGFIX:BP:11.5] Fix EXT:solr route enhancer by @dkd-friedrich in TYPO3-Solr#3743 - [BUG] Fix detection of "draft records" in workspaces by @baschny in TYPO3-Solr#3642 - [BUGFIX] Do not index translations on default language in languages free mode by @dkd-kaehm in TYPO3-Solr#3786 - [BUGFIX:BP:11.5] Retry Uri Building after exception by @dkd-friedrich in TYPO3-Solr#3789 - [BUGFIX] Delete index documents without available site by @dkd-kaehm in TYPO3-Solr#3778 - [TASK:BP:11.5] Ensure recursive page update on page movement by @dkd-friedrich in TYPO3-Solr#3771 - [FEATURE:BP:11.5] Add index queue indices by @dkd-friedrich in TYPO3-Solr#3791 - [TASK:BP:11.5] Migrate top.fsMod by @dkd-friedrich in TYPO3-Solr#3795 - [BUGFIX:BP:11.5] Return value getPageItemChangedTime() must be of the type int by @dkd-kaehm in TYPO3-Solr#3813 - [TASK:BP:11.5] Remove duplicate withHeader() by @dkd-kaehm in TYPO3-Solr#3626 - [BUGFIX:BP:11.5] Do not list cores twice in Index Inspector by @dkd-kaehm in TYPO3-Solr#3818 - [BUGFIX] Fixes multiple sortings by @BastiLu in TYPO3-Solr#3762 - [BUGFIX:BP:11.5] Fix missing frontend.typoscript request attribute while indexing by @dkd-kaehm in TYPO3-Solr#3822 - [BUGFIX] Prevent indexing error on missing 'foreignLabelField' by @kitzberger in TYPO3-Solr#3740 - [BUGFIX:BP:11.5] Force score to float by @dkd-kaehm in TYPO3-Solr#3824 - [BUGFIX:BP:11.5] Fix possible notice by @dkd-kaehm in TYPO3-Solr#3825 - [DOC:BP:11.5] Add FAQ how to generate URLs to restricted pages by @dkd-kaehm in TYPO3-Solr#3826 - [BUGFIX:BP:11.5] Handle float values in options facet parser by @dkd-kaehm in TYPO3-Solr#3827 - [BUGFIX:BP:11.5] handle localizations with un-available tsfe more gracefully by @dkd-kaehm in TYPO3-Solr#3832 - [TASK] Update the version matrix by @dkd-friedrich in TYPO3-Solr#3860 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-friedrich
added a commit
that referenced
this pull request
Nov 6, 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. 11.5.4 contains the following changes: - [TASK] Fix CI 2023.09.11 on release-11.5.x by @dkd-kaehm in #3777 - [BUGFIX:BP:11.5] Fix EXT:solr route enhancer by @dkd-friedrich in #3743 - [BUG] Fix detection of "draft records" in workspaces by @baschny in #3642 - [BUGFIX] Do not index translations on default language in languages free mode by @dkd-kaehm in #3786 - [BUGFIX:BP:11.5] Retry Uri Building after exception by @dkd-friedrich in #3789 - [BUGFIX] Delete index documents without available site by @dkd-kaehm in #3778 - [TASK:BP:11.5] Ensure recursive page update on page movement by @dkd-friedrich in #3771 - [FEATURE:BP:11.5] Add index queue indices by @dkd-friedrich in #3791 - [TASK:BP:11.5] Migrate top.fsMod by @dkd-friedrich in #3795 - [BUGFIX:BP:11.5] Return value getPageItemChangedTime() must be of the type int by @dkd-kaehm in #3813 - [TASK:BP:11.5] Remove duplicate withHeader() by @dkd-kaehm in #3626 - [BUGFIX:BP:11.5] Do not list cores twice in Index Inspector by @dkd-kaehm in #3818 - [BUGFIX] Fixes multiple sortings by @BastiLu in #3762 - [BUGFIX:BP:11.5] Fix missing frontend.typoscript request attribute while indexing by @dkd-kaehm in #3822 - [BUGFIX] Prevent indexing error on missing 'foreignLabelField' by @kitzberger in #3740 - [BUGFIX:BP:11.5] Force score to float by @dkd-kaehm in #3824 - [BUGFIX:BP:11.5] Fix possible notice by @dkd-kaehm in #3825 - [DOC:BP:11.5] Add FAQ how to generate URLs to restricted pages by @dkd-kaehm in #3826 - [BUGFIX:BP:11.5] Handle float values in options facet parser by @dkd-kaehm in #3827 - [BUGFIX:BP:11.5] handle localizations with un-available tsfe more gracefully by @dkd-kaehm in #3832 - [TASK] Update the version matrix by @dkd-friedrich in #3860 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: #3782
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Especially on TYPO3 10 the userfunction to load the flex form configuration produced an error.
This implements
TYPO3\CMS\Extbase\Object->get()
- deprecated by TYPO3 12:https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/10.4/Deprecation-90803-DeprecationOfObjectManagergetInExtbaseContext.html
Technical details
FlexFormUserFunctions
does not implement the extbase controller and thereby does not have dependency injection.With missing dependency injection the instantiation of the
Interface::class
byGeneralUtility::makeInstance(ConfigurationManagerInterface::class)
fails with:Cannot instantiate interface TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
The solution to instantiate an object of
ConfigurationManager::class
is not feasible here - there are different implementations ofConfigurationManagerInterface::class
for the frontend and backend.So we are falling back to the solution provided in
GeneralUtility::makeInstance()
:https://github.com/TYPO3/typo3/blob/808ef61a53bc1e7ef65b715c13727b0f2d086c24/typo3/sysext/core/Classes/Utility/GeneralUtility.php#L3441-L3445
Further reading on extbase and dependency injection
How to test
This is reproducible by multiple users.
Fixes: #3622
Maintaners comments:
Todos:
Port into: