acs-aem-commons icon indicating copy to clipboard operation
acs-aem-commons copied to clipboard

System Notification Breaks Experience Fragment based Target Activities

Open toddhaser opened this issue 2 years ago • 0 comments

Required Information

  • [ ] AEM Version, including Service Packs, Cumulative Fix Packs, etc: AEM 6.5.12.0
  • [ ] ACS AEM Commons Version: 4.11.2
  • [ ] Reproducible on Latest? Haven't tried

Expected Behavior

System Notifications should display to Content Authors.

Actual Behavior

The notifications display just fine. However, when you export an Experience Fragment to Target, System Notification code is adding document.write() to the HTML. This BREAKS Adobe Target Activities using those XFs and causes widespread pandemonium across an organization.

Steps to Reproduce

Using above versions of AEM and ACS Commons, create and enable a System Notification. Then, export an XF to Target and observe the HTML.

Links

Links to related assets, e.g. content packages containing test components create-notification document-write

toddhaser avatar Oct 07 '22 22:10 toddhaser