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

Properly process deleted records #104

Merged
merged 1 commit into from
Dec 4, 2023
Merged

Conversation

mbrodala
Copy link
Member

@mbrodala mbrodala commented Dec 4, 2023

The indexer checks if a record is marked as deleted and queues a delete from the index. However, TcaDataCollector::processColumns() filters out all columns with "empty" values, which includes "deleted => 0". Thus we need to assume this as fallback here.

Discovered by this exception:

Warning: Undefined array key "deleted"

The indexer checks if a record is marked as deleted and queues a delete from the index. However, TcaDataCollector::processColumns() filters out all columns with "empty" values, which includes "deleted => 0". Thus we need to assume this as fallback here.

Discovered by this exception:
> Warning: Undefined array key "deleted"
@mbrodala mbrodala merged commit be69f68 into master Dec 4, 2023
3 checks passed
@mbrodala mbrodala deleted the process-deleted-records branch December 4, 2023 07:24
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 this pull request may close these issues.

1 participant