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

[BUG] EverythingOn breaks page indexing. JSON response is overruled with debug message (debugOutput=1) #3030

Closed
dkd-kaehm opened this issue Sep 10, 2021 · 2 comments · Fixed by #3273

Comments

@dkd-kaehm
Copy link
Collaborator

dkd-kaehm commented Sep 10, 2021

Describe the bug
By activating the TypoScript Configuration/TypoScript/Examples/EverythingOn/setup.typoscript the page indexing is broken, because the JSON response is overruled with output of DebuggerUtility::var_dump.
The page is indexed anyway but newer marked as indexed, due of invalid response message.

To Reproduce
Steps to reproduce the behavior:

  1. Activate Configuration/TypoScript/Examples/EverythingOn/setup.typoscript
  2. Try to index pages.

Expected behavior
Page indexing is not affected by plugin.tx_solr.logging.debugOutput = 1

Used versions (please complete the following information):

  • TYPO3 Version: [e.g. 10.4.20]
  • EXT:solr Version: [e.g. 11.1.1]
@Apen
Copy link

Apen commented Dec 21, 2021

I can confirm this "bug" but in my case "plugin.tx_solr.logging.debugOutput = 0" do the trick and everything is fine.
Last TYPO3 11 version, Last branch of typo3solr-11

@dkd-kaehm dkd-kaehm changed the title [BUG] EverythingOn breaks page indexing. JSON response is overruled with debug message [BUG] EverythingOn breaks page indexing. JSON response is overruled with debug message (debugOutput=1) Jan 5, 2022
sascha-egerer added a commit to sascha-egerer/ext-solr that referenced this issue Jun 29, 2022
If debug logging is activated the DebugWriter
does append debug messages to the output. This
fails when running PageIndexerRequest as it
does return a json that must not be appended
with debug message output.

Resolves TYPO3-Solr#3030
sascha-egerer added a commit to sascha-egerer/ext-solr that referenced this issue Jun 29, 2022
If debug logging is activated the DebugWriter
does append debug messages to the output. This
fails when running PageIndexerRequest as it
does return a json that must not be appended
with debug message output.

Resolves TYPO3-Solr#3030
dkd-kaehm pushed a commit to sascha-egerer/ext-solr that referenced this issue Jul 6, 2022
If debug logging is activated the DebugWriter
does append debug messages to the output. This
fails when running PageIndexerRequest as it
does return a json that must not be appended
with debug message output.

Resolves TYPO3-Solr#3030
dkd-kaehm pushed a commit to sascha-egerer/ext-solr that referenced this issue Jul 7, 2022
If debug logging is activated the DebugWriter
does append debug messages to the output. This
fails when running PageIndexerRequest as it
does return a json that must not be appended
with debug message output.

Fixes: TYPO3-Solr#3030
dkd-kaehm pushed a commit that referenced this issue Jul 16, 2022
If debug logging is activated the DebugWriter
does append debug messages to the output. This
fails when running PageIndexerRequest as it
does return a json that must not be appended
with debug message output.

Fixes: #3030
dkd-kaehm pushed a commit that referenced this issue Jul 16, 2022
If debug logging is activated the DebugWriter
does append debug messages to the output. This
fails when running PageIndexerRequest as it
does return a json that must not be appended
with debug message output.

Fixes: #3030
dkd-kaehm added a commit that referenced this issue Jul 16, 2022
If debug logging is activated the DebugWriter
does append debug messages to the output. This
fails when running PageIndexerRequest as it
does return a json that must not be appended
with debug message output.

Fixes: #3030
@dkd-kaehm
Copy link
Collaborator Author

Ported to:

dkd-friedrich added a commit to dkd-friedrich/ext-solr that referenced this issue Aug 10, 2022
Third release candidate of 11.5.0 for TYPO3 11 LTS

Huge improvements:

* TYPO3 11 LTS compatibility
* Improved data update handling

Known issues:

* [BUG] IMAGES in indexer configurations handled in BE mode since
  TYPO3 10.4.12 TYPO3-Solr#2828

Open tasks:

* [TASK] Finalize lastSearches Integration test cases TYPO3-Solr#3160

Improvements and fixes since RC 2:

* [DOCS:BP:11.5] add missing doc for ...logging.indexing.pageIndexed
* [TASK:BP:11.5] Adjust typo3/coding-standards settings
* [BUGFIX:BP:11.5] Empty suggest query triggers a PHP error TYPO3-Solr#3302
* [BUGFIX] Respect indexing configuration for new and updated
  subpages TYPO3-Solr#3276
* [BUGFIX] Class properties must not be accessed before
  initialization TYPO3-Solr#3288
* [BUGFIX:11.5] Frequent Searches plugin does not work TYPO3-Solr#3166
* [BUGFIX] Ensure array value is set when accessing TYPO3-Solr#3269
* [BUGFIX] Fix PSR-4 Namesppaces and Paths TYPO3-Solr#3285
* [BUGFIX] Undefined array key in ..Domain\Site\Site:L130 TYPO3-Solr#3232
* [BUGFIX] Silence DebugWriter for PageIndexerRequest TYPO3-Solr#3030
* [BUGFIX] AbstractSolrTask::setRootPageId(): Argument TYPO3-Solr#1 () must
  be of type int, string given TYPO3-Solr#3267
* [TASK]  Update GarbageCollector.php TYPO3-Solr#3249
* [TASK] Sync with EXT:solrfluidgrouping for TYPO3 11.5
* [TASK] Sync with new TYPO3 coding standards
* [BUGFIX] Avoid yoda-style conditions in PHP
* [BUGFIX] change detection of free mode records TYPO3-Solr#3264
* [BUGFIX] Fix return type error for option facet TYPO3-Solr#3260
* [FEATURE] Make pageRangeFirst and pageRangeLast accessible in
  fluid TYPO3-Solr#3254

Note for non-composer instances:

This release candidate is not available in TYPO3 TER, if you want to
try this release, please download and install this release manually
from:
https://github.com/TYPO3-Solr/ext-solr/releases/tag/11.5.0-rc-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 issue Aug 11, 2022
Third release candidate of 11.5.0 for TYPO3 11 LTS

Huge improvements:

* TYPO3 11 LTS compatibility
* Improved data update handling

Known issues:

* [BUG] IMAGES in indexer configurations handled in BE mode since
  TYPO3 10.4.12 TYPO3-Solr#2828

Open tasks:

* [TASK] Finalize lastSearches Integration test cases TYPO3-Solr#3160

Improvements and fixes since RC 2:

* [FEATURE] Add custom field processors TYPO3-Solr#1811
* [TASK] Adapt column arrangement within sites config TYPO3-Solr#3295
* [DOCS:BP:11.5] add missing doc for ...logging.indexing.pageIndexed
* [TASK:BP:11.5] Adjust typo3/coding-standards settings
* [BUGFIX:BP:11.5] Empty suggest query triggers a PHP error TYPO3-Solr#3302
* [BUGFIX] Respect indexing configuration for new and updated
  subpages TYPO3-Solr#3276
* [BUGFIX] Class properties must not be accessed before
  initialization TYPO3-Solr#3288
* [BUGFIX:11.5] Frequent Searches plugin does not work TYPO3-Solr#3166
* [BUGFIX] Ensure array value is set when accessing TYPO3-Solr#3269
* [BUGFIX] Fix PSR-4 Namesppaces and Paths TYPO3-Solr#3285
* [BUGFIX] Undefined array key in ..Domain\Site\Site:L130 TYPO3-Solr#3232
* [BUGFIX] Silence DebugWriter for PageIndexerRequest TYPO3-Solr#3030
* [BUGFIX] AbstractSolrTask::setRootPageId(): Argument TYPO3-Solr#1 () must
  be of type int, string given TYPO3-Solr#3267
* [TASK]  Update GarbageCollector.php TYPO3-Solr#3249
* [TASK] Sync with EXT:solrfluidgrouping for TYPO3 11.5
* [TASK] Sync with new TYPO3 coding standards
* [BUGFIX] Avoid yoda-style conditions in PHP
* [BUGFIX] change detection of free mode records TYPO3-Solr#3264
* [BUGFIX] Fix return type error for option facet TYPO3-Solr#3260
* [FEATURE] Make pageRangeFirst and pageRangeLast accessible in
  fluid TYPO3-Solr#3254

Note for non-composer instances:

This release candidate is not available in TYPO3 TER, if you want to
try this release, please download and install this release manually
from:
https://github.com/TYPO3-Solr/ext-solr/releases/tag/11.5.0-rc-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 that referenced this issue Aug 11, 2022
Third release candidate of 11.5.0 for TYPO3 11 LTS

Huge improvements:

* TYPO3 11 LTS compatibility
* Improved data update handling

Known issues:

* [BUG] IMAGES in indexer configurations handled in BE mode since
  TYPO3 10.4.12 #2828

Open tasks:

* [TASK] Finalize lastSearches Integration test cases #3160

Improvements and fixes since RC 2:

* [FEATURE] Add custom field processors #1811
* [TASK] Adapt column arrangement within sites config #3295
* [DOCS:BP:11.5] add missing doc for ...logging.indexing.pageIndexed
* [TASK:BP:11.5] Adjust typo3/coding-standards settings
* [BUGFIX:BP:11.5] Empty suggest query triggers a PHP error #3302
* [BUGFIX] Respect indexing configuration for new and updated
  subpages #3276
* [BUGFIX] Class properties must not be accessed before
  initialization #3288
* [BUGFIX:11.5] Frequent Searches plugin does not work #3166
* [BUGFIX] Ensure array value is set when accessing #3269
* [BUGFIX] Fix PSR-4 Namesppaces and Paths #3285
* [BUGFIX] Undefined array key in ..Domain\Site\Site:L130 #3232
* [BUGFIX] Silence DebugWriter for PageIndexerRequest #3030
* [BUGFIX] AbstractSolrTask::setRootPageId(): Argument #1 () must
  be of type int, string given #3267
* [TASK]  Update GarbageCollector.php #3249
* [TASK] Sync with EXT:solrfluidgrouping for TYPO3 11.5
* [TASK] Sync with new TYPO3 coding standards
* [BUGFIX] Avoid yoda-style conditions in PHP
* [BUGFIX] change detection of free mode records #3264
* [BUGFIX] Fix return type error for option facet #3260
* [FEATURE] Make pageRangeFirst and pageRangeLast accessible in
  fluid #3254

Note for non-composer instances:

This release candidate is not available in TYPO3 TER, if you want to
try this release, please download and install this release manually
from:
https://github.com/TYPO3-Solr/ext-solr/releases/tag/11.5.0-rc-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 issue Nov 2, 2022
This is a maintaine release for TYPO3 10.4, containing:

- [BUGFIX] Prepend wrong fe language on empty cache (TYPO3-Solr#3375)
- [TASK] Use TYPO3 IpAnonymizationUtility (TYPO3-Solr#3262)
- [BUGFIX:BP:11.2] Shortcircuit work in SolrRoutingMiddleware (TYPO3-Solr#3202)
- [TASK] Fix scrutinizer on release-11.2.x
- [BUGFIX:BP:11.2] Do not handle page updates on new page with uid 0
(TYPO3-Solr#3338)
- [TASK] Remove not used strptime() adaption for windows.
- [BUGFIX] Respect indexing configuration for new and updated subpages
(TYPO3-Solr#3276)
- [BUGFIX] Ensure keywords string does not exceed database field length
(TYPO3-Solr#3321)
- [TASK:BP:11.2] Adapt column arrangement within sites config (TYPO3-Solr#3295)
- [DOCS:BP:11.2] add missing doc for ..pageIndexed (#)
- [BUGFIX] Fix PSR-4 Namespaces and Paths (TYPO3-Solr#3285)
- [BUGFIX] Silence DebugWriter for PageIndexerRequest (TYPO3-Solr#3030)
- [BUGFIX] AbstractSolrTask::setRootPageId(): Argument TYPO3-Solr#1 () must be
of type int, string given (TYPO3-Solr#3267)
- [BUGFIX:11.2] Update GarbageCollector.php (TYPO3-Solr#3249)
- [DOCS] Align with new TYPO3 documentation standards (TYPO3-Solr#3242)
- [DOCS] Align README.md with other extensions (TYPO3-Solr#3218)
- [BUGFIX] Missing dot in configuration in numberOfResultsPerGroup
method (TYPO3-Solr#3098
- [TASK] Added info about using page content in fields
- [TASK] Added info about the virtual field __solr_contents
- [BUGFIX:BP:11.2] Fix write connection (TYPO3-Solr#2916)

Please read the release notes:
https://github.com/TYPO3-Solr/ext-solr/releases/tag/11.1.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 Request 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 issue Nov 2, 2022
This is a maintenance release for TYPO3 10.4, containing:

- [BUGFIX] Prepend wrong fe language on empty cache (TYPO3-Solr#3375)
- [TASK] Use TYPO3 IpAnonymizationUtility (TYPO3-Solr#3262)
- [BUGFIX:BP:11.2] Shortcircuit work in SolrRoutingMiddleware (TYPO3-Solr#3202)
- [TASK] Fix scrutinizer on release-11.2.x
- [BUGFIX:BP:11.2] Do not handle page updates on new page with uid 0
(TYPO3-Solr#3338)
- [TASK] Remove not used strptime() adaption for windows.
- [BUGFIX] Respect indexing configuration for new and updated subpages
(TYPO3-Solr#3276)
- [BUGFIX] Ensure keywords string does not exceed database field length
(TYPO3-Solr#3321)
- [TASK:BP:11.2] Adapt column arrangement within sites config (TYPO3-Solr#3295)
- [DOCS:BP:11.2] add missing doc for ..pageIndexed (#)
- [BUGFIX] Fix PSR-4 Namespaces and Paths (TYPO3-Solr#3285)
- [BUGFIX] Silence DebugWriter for PageIndexerRequest (TYPO3-Solr#3030)
- [BUGFIX] AbstractSolrTask::setRootPageId(): Argument TYPO3-Solr#1 () must be
of type int, string given (TYPO3-Solr#3267)
- [BUGFIX:11.2] Update GarbageCollector.php (TYPO3-Solr#3249)
- [DOCS] Align with new TYPO3 documentation standards (TYPO3-Solr#3242)
- [DOCS] Align README.md with other extensions (TYPO3-Solr#3218)
- [BUGFIX] Missing dot in configuration in numberOfResultsPerGroup
method (TYPO3-Solr#3098
- [TASK] Added info about using page content in fields
- [TASK] Added info about the virtual field __solr_contents
- [BUGFIX:BP:11.2] Fix write connection (TYPO3-Solr#2916)

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

---

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 Request 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 issue Nov 2, 2022
This is a maintenance release for TYPO3 10.4, containing:

- [BUGFIX] Prepend wrong fe language on empty cache (TYPO3-Solr#3375)
- [TASK] Use TYPO3 IpAnonymizationUtility (TYPO3-Solr#3262)
- [BUGFIX:BP:11.2] Shortcircuit work in SolrRoutingMiddleware (TYPO3-Solr#3202)
- [TASK] Fix scrutinizer on release-11.2.x
- [BUGFIX:BP:11.2] Do not handle page updates on new page with uid 0
(TYPO3-Solr#3338)
- [TASK] Remove not used strptime() adaption for windows.
- [BUGFIX] Respect indexing configuration for new and updated subpages
(TYPO3-Solr#3276)
- [BUGFIX] Ensure keywords string does not exceed database field length
(TYPO3-Solr#3321)
- [TASK:BP:11.2] Adapt column arrangement within sites config (TYPO3-Solr#3295)
- [DOCS:BP:11.2] add missing doc for ..pageIndexed
- [BUGFIX] Fix PSR-4 Namespaces and Paths (TYPO3-Solr#3285)
- [BUGFIX] Silence DebugWriter for PageIndexerRequest (TYPO3-Solr#3030)
- [BUGFIX] AbstractSolrTask::setRootPageId(): Argument TYPO3-Solr#1 must be
of type int, string given (TYPO3-Solr#3267)
- [BUGFIX:11.2] Update GarbageCollector.php (TYPO3-Solr#3249)
- [DOCS] Align with new TYPO3 documentation standards (TYPO3-Solr#3242)
- [DOCS] Align README.md with other extensions (TYPO3-Solr#3218)
- [BUGFIX] Missing dot in configuration in numberOfResultsPerGroup
method (TYPO3-Solr#3098
- [TASK] Added info about using page content in fields
- [TASK] Added info about the virtual field __solr_contents
- [BUGFIX:BP:11.2] Fix write connection (TYPO3-Solr#2916)

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

---

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 Request 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 that referenced this issue Nov 2, 2022
This is a maintenance release for TYPO3 10.4, containing:

- [BUGFIX] Prepend wrong fe language on empty cache (#3375)
- [TASK] Use TYPO3 IpAnonymizationUtility (#3262)
- [BUGFIX:BP:11.2] Shortcircuit work in SolrRoutingMiddleware (#3202)
- [TASK] Fix scrutinizer on release-11.2.x
- [BUGFIX:BP:11.2] Do not handle page updates on new page with uid 0
(#3338)
- [TASK] Remove not used strptime() adaption for windows.
- [BUGFIX] Respect indexing configuration for new and updated subpages
(#3276)
- [BUGFIX] Ensure keywords string does not exceed database field length
(#3321)
- [TASK:BP:11.2] Adapt column arrangement within sites config (#3295)
- [DOCS:BP:11.2] add missing doc for ..pageIndexed
- [BUGFIX] Fix PSR-4 Namespaces and Paths (#3285)
- [BUGFIX] Silence DebugWriter for PageIndexerRequest (#3030)
- [BUGFIX] AbstractSolrTask::setRootPageId(): Argument #1 must be
of type int, string given (#3267)
- [BUGFIX:11.2] Update GarbageCollector.php (#3249)
- [DOCS] Align with new TYPO3 documentation standards (#3242)
- [DOCS] Align README.md with other extensions (#3218)
- [BUGFIX] Missing dot in configuration in numberOfResultsPerGroup
method (#3098
- [TASK] Added info about using page content in fields
- [TASK] Added info about the virtual field __solr_contents
- [BUGFIX:BP:11.2] Fix write connection (#2916)

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

---

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 Request 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
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 a pull request may close this issue.

2 participants