[BUGFIX] Add record to index queue when published#3938
[BUGFIX] Add record to index queue when published#3938spoonerWeb wants to merge 2 commits intoTYPO3-Solr:mainfrom
Conversation
There was a problem hiding this comment.
Thanks for the fix.
We'll backport it to 11.5 and then merge the both on same time.
@spoonerWeb Could you please sqaush the commits?
|
I'm not sure if we can drop 'swap' completely, EXT:workspaces is internally still handling swap actions and even building command maps with 'swap', e.g. I think we should use both options to be on the safe side |
363e234 to
a9bae2f
Compare
|
Could you please check #3938 (comment) |
16bf8c5 to
dfcdd98
Compare
ce782ee to
b94a3c9
Compare
|
As far as I understand it, "swap" has been removed? "publish" is sufficient, no? |
That's what I understood. I tested this patch and it seems to work; it's just not the same line in version 13.0.3: https://patch-diff.githubusercontent.com/raw/TYPO3-Solr/ext-solr/pull/3938.patch |
dkd-kaehm
left a comment
There was a problem hiding this comment.
The tests must be adjusted.
# What this pr does Checks if action is "publish" and add record to index queue. Removed "swap" action as it's removed with https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.0/Breaking-92206-RemoveWorkspaceSwappingOfElements.html. # How to test 1. Create a workspace 2. Switch to workspace and create page 3. Page is not in index queue -> correct 4. Publish the page to LIVE workspace 5. Page is not in index queue -> incorrect Fixes: TYPO3-Solr#3718
What this pr does
Checks if action is "publish" and add record to index queue.
Removed "swap" action as it's removed with https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.0/Breaking-92206-RemoveWorkspaceSwappingOfElements.html.
How to test
Fixes: #3718