-
-
Notifications
You must be signed in to change notification settings - Fork 260
Open
Description
Describe the bug
In typo3/public/typo3conf/ext/solr/Classes/IndexQueue/RecordMonitor.php
, the method processCmdmap_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
- CREATE any record (e.g. type pages)
- Publish the record via the workspace (send to LIVE workspace)
- Note the record's uid
- Check the database for
select * from tx_solr_indexqueue_item where item_uid=<UID>;
- The published record is not there
- Therefore, when executing the "Index Queue Worker" task in the scheduler, the record is not sent to the solr core.
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):
- TYPO3 Version: 11.5.28
- Browser: Firefox 114.0.2 (64-bit)
- EXT:solr Version: 11.5.3
- Used Apache Solr Version: 8.11.2
- PHP Version: 7.4.3-apache-buster
- MySQL Version: 5.7.31
Additional context
This seems connected to https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.0/Breaking-92206-RemoveWorkspaceSwappingOfElements.html
placeboHummel, andreaskalis, dkd-kaehm, akoenig-clickstorm and Arashadmin
Metadata
Metadata
Assignees
Labels
No labels