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

Provide Inherited Object/Variant Data #42

Closed
solverat opened this issue Dec 7, 2021 · 0 comments
Closed

Provide Inherited Object/Variant Data #42

solverat opened this issue Dec 7, 2021 · 0 comments

Comments

@solverat
Copy link
Member

solverat commented Dec 7, 2021

Q A
Branch master
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
  • Create Object
  • Create Variant for Object
  • Dispatch Queue
    • Index contains object and variant
  • Change Object property
  • Dispatch Queue
    • Variant in index is untouched

While technical correct (we only add objects to queue by pimcores post-update event) we should think about a proper solution for this.

Introduce a new configuration flag for the trinity data provider object_enable_inheritance. If true, load all sub-elements and add them to the queue too.

dynamic_search:
    context:
        default:
            data_provider:
                service: 'trinity_data'
                options:
                    always:
                        index_object: true
                        object_enable_inheritance: true
@solverat solverat transferred this issue from dachcom-digital/pimcore-dynamic-search-data-provider-trinity Dec 17, 2021
solverat added a commit that referenced this issue Dec 17, 2021
implement inherited element dispatcher, resolves #42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant