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] Cannot traverse an already closed generator #4284

Open
jacobsenj opened this issue Jan 16, 2025 · 0 comments · May be fixed by #4283
Open

[BUG] Cannot traverse an already closed generator #4284

jacobsenj opened this issue Jan 16, 2025 · 0 comments · May be fixed by #4283
Assignees

Comments

@jacobsenj
Copy link
Contributor

jacobsenj commented Jan 16, 2025

Describe the bug
In a very rare situation (just after installing and before configuring everything) you have no solr configuration for a site yet, saving pages or content will result in a PHP exception:

Uncaught TYPO3 Exception: Cannot traverse an already closed generator | Exception thrown in file .../vendor/apache-solr-for-typo3/solr/Classes/Domain/Site/SiteRepository.php in line 135

To Reproduce
Steps to reproduce the behavior:

  1. Install ext:solr in a TYPO3 13 demo installation
  2. Disable solr in (all) site configuration(s) if enabled
  3. Edit page properties and click save
  4. See error

Expected behavior
The page properties gets saved without error.

Used versions:

  • TYPO3 Version: 13.34.3
  • EXT:solr Version: dev-main
  • PHP Version: 8.4.2
  • MySQL Version: mariadb 10.11.x
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