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

[Personalization] Overwrite area block with target group does not work #61

Closed ogmdev closed 8 months ago

ogmdev commented 8 months ago

This behavior is only present in Pimcore 11

How to reproduce

  1. On Pimcore demo website, open a CMS Document
  2. Choose on target group
  3. Overwrite an areablock
  4. Remove it
  5. Add a new areablock
  6. Save.
  7. Refresh the document. The new block is not present

Why

In the post request to add a new areabrick, in field "realName" is missing prefix 'personaXX-'

You can see it on the screenshot below

image

This appears since Personnalization moved to his own bundle (https://github.com/pimcore/pimcore/commit/d505e46b8b9ff9505e2fb1f1bcb0616321a3b8a8)

We should probably update this Pimcore Core file to fix this https://github.com/pimcore/pimcore/blob/d505e46b8b9ff9505e2fb1f1bcb0616321a3b8a8/models/Document/Editable.php#L524

dvesh3 commented 8 months ago

fixed by https://github.com/pimcore/pimcore/pull/16150