pimcore / personalization-bundle

Personalization community bundle provides personalization features such as behavioral targeting, visitor profiling and personalized content for Pimcore.
https://pimcore.com/docs/platform/Targeting/
Other
1 stars 7 forks source link

Fix issue with the target editable data #49

Closed aryaantony92 closed 1 year ago

aryaantony92 commented 1 year ago

Resolves https://github.com/pimcore/personalization-bundle/issues/46

'TargetingElementListener' was extracted from the 'ElementListener' when the personalization bundle was refactored. Since both listeners had the same priority, 'ElementListener' was executing after the 'TargetingElementListener'. But, the 'TargetingElementListener' only sets the target group id to the document. So, it should be executed after the 'ElementListener'.