Skip to content

Commit

Permalink
Issue:3362-System-Notification-breaks-Experience-Fragment (#3363)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulhep authored Jun 18, 2024
1 parent 9536083 commit 4ccb3e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
### Fixed

- #3241 - Fix overlapping Service-Component header entries leading to double registration of components
- #3362 - Prevent System notification while exporting / updating experience fragment to Adobe Target

## 6.6.0 - 2024-04-15

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ protected boolean accepts(final ServletRequest servletRequest,
return false;
}

// Do not apply when exporting / updating experience fragments to Adobe Target
if (StringUtils.contains(slingRequest.getQueryString(), "wcmmode=disabled")) {
return false;
}

return super.accepts(servletRequest, servletResponse);
}

Expand Down

0 comments on commit 4ccb3e6

Please sign in to comment.