-
-
Notifications
You must be signed in to change notification settings - Fork 260
[BUGFIX] Add record to index queue when published #3938
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
# 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
|
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
Fixes: #3718