-
-
Notifications
You must be signed in to change notification settings - Fork 253
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] Publishing records doesn't update the index queue #3718
Comments
andreaskalis
changed the title
[BUG] Publishing records does not fire VersionSwappedEvent
[BUG] Publishing records doesn't update the index queue
Jul 6, 2023
I can also reproduce the issue with TYPO3 11.5.30. With this small patch, it seems to work fine. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
In
typo3/public/typo3conf/ext/solr/Classes/IndexQueue/RecordMonitor.php
, the methodprocessCmdmap_postProcess
(line 99) checks:if ($command === 'version' && $value['action'] === 'swap') {
However,
$value['action']
now seems to be'publish'
. Therefore, the VersionSwappedEvent is not fired and the record is not written into the index queue.To Reproduce
select * from tx_solr_indexqueue_item where item_uid=<UID>;
Expected behavior
After publishing a new record, the record's uid is written into the table
tx_solr_indexqueue_item
.Used versions (please complete the following information):
Additional context
This seems connected to https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.0/Breaking-92206-RemoveWorkspaceSwappingOfElements.html
The text was updated successfully, but these errors were encountered: