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] Exception in SOLR_RELATION if relation is not translated #4097

Open
dkd-friedrich opened this issue Jul 1, 2024 · 0 comments
Open

Comments

@dkd-friedrich
Copy link
Member

dkd-friedrich commented Jul 1, 2024

Describe the bug

Indexing of a translated record with relation to a non-translated record causes an exception

ApacheSolrForTypo3\Solr\ContentObject\Relation::getRelatedItemsFromForeignTable(): Argument #2 ($localRecordUid) must be of type int, null given, called in vendor/apache-solr-for-typo3/solr/Classes/ContentObject/Relation.php on line 347

Expected behavior

No exception should occur and just no relation should be indexed.

Used versions (please complete the following information):

  • TYPO3 Version: 12
  • Used EXT:solr Version: 12.0.3
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

No branches or pull requests

1 participant