acs-aem-commons
acs-aem-commons copied to clipboard
System Notification Breaks Experience Fragment based Target Activities
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