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

Index and deindex shadow documents #6309

Open
wants to merge 1 commit into
base: 2.5
Choose a base branch
from

Conversation

plozmun
Copy link
Contributor

@plozmun plozmun commented Oct 20, 2021

Q A
Bug fix? yes
New feature? no
BC breaks? yes
Deprecations? -
Fixed tickets -
Related issues/PRs -
License MIT
Documentation PR -

What's in this PR?

Index or reindex shadow documents with original locale

Why?

Shadow pages are not being indexed

I don't know if WorkflowStageBehavior must be taken in count in this case

remove from structure

Change use order

Add licence
@plozmun plozmun force-pushed the feature/index-shadow-documents branch from 8dd0c9b to b525578 Compare October 20, 2021 12:36
@plozmun plozmun changed the base branch from 2.x to 2.2 October 20, 2021 12:36
@niklasnatter niklasnatter changed the title Index or deindex shadow documents Index and deindex shadow documents Nov 9, 2021
use Sulu\Component\DocumentManager\Events;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

class ShadowStructureSubscriber implements EventSubscriberInterface
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on this! I think I would prefer to include this logic in the existing Sulu\Bundle\PageBundle\Search\EventSubscriber\StructureSubscriber as that class already registers all required listeners and things cannot get inconsistent 🙂

@alexander-schranz alexander-schranz changed the base branch from 2.2 to 2.3 December 16, 2021 22:11
@alexander-schranz alexander-schranz added the Bug Error or unexpected behavior of already existing functionality label Jan 17, 2022
@alexander-schranz alexander-schranz changed the base branch from 2.3 to 2.4 July 20, 2022 11:23
@alexander-schranz alexander-schranz changed the base branch from 2.4 to 2.5 May 2, 2024 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Error or unexpected behavior of already existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants