Index Queue Initialization: When adding a sys_file_storage to the index queue, the following error is shown (The error is shown in the backend and in the log)
Core: Exception handler (CLI): Uncaught TYPO3 Exception: trim(): Argument #1 ($string) must be of type string, null given | TypeError thrown in file /var/www/xyz.de/typo3/public/typo3conf/ext/tika/Classes/Service/Tika/AppService.php in line 250
To Reproduce
Steps to reproduce the behavior:
Apache Solr Module in TYPO3 backend
Click Index Queue and select a pageroot in the pagetree list
select a sys_file_storage
click "Queue selected content for Indexing"
now the error is shown
Expected behavior
A success message instead of the error.
Screenshots
Used versions (please complete the following information):
TYPO3 Version: 11.5.16
EXT:solr Version: 11.5.0
EXT:tika Version: 11.0.0
Used Apache Solr Version: 8.11.1
PHP Version: 8.0.23
MySQL Version: 10.3.28-MariaDB
Browser: Not a browser dependent bug
I can create a pull request that checks if the var $value is null before passing it to the trim() function in /ext/tika/Classes/Service/Tika/AppService.php in line 250
Describe the bug
Index Queue Initialization: When adding a sys_file_storage to the index queue, the following error is shown (The error is shown in the backend and in the log)
Core: Exception handler (CLI): Uncaught TYPO3 Exception: trim(): Argument #1 ($string) must be of type string, null given | TypeError thrown in file /var/www/xyz.de/typo3/public/typo3conf/ext/tika/Classes/Service/Tika/AppService.php in line 250
To Reproduce
Steps to reproduce the behavior:
Expected behavior A success message instead of the error.
Screenshots
Used versions (please complete the following information):
I can create a pull request that checks if the var $value is null before passing it to the trim() function in /ext/tika/Classes/Service/Tika/AppService.php in line 250