Skip to content

Commit

Permalink
decorate response exception listener properly (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat authored May 30, 2024
1 parent b80b2cd commit e83a9f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 2 additions & 3 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# Upgrade Notes

## 5.0.5
- [BUGFIX] Fix exception handler decoration
## 5.0.4
- [IMPROVEMENT] Add locale and site automatically in export mode (xliff, word export), based on given document

## 5.0.3
- [BUGFIX] Fix exception handler priority to prevent authentication exception hijacking
- [BUGFIX] Revert [#af8bfe7](https://github.com/dachcom-digital/pimcore-i18n/commit/af8bfe74488fd85ebcdb14e4300f3a9f7ddc7dbe)

## 5.0.2
- fixed bug when no locale url mapping is available [#153](https://github.com/dachcom-digital/pimcore-i18n/pull/153)

## 5.0.1
- Remove `isEnabled` and `setEnabled` from redirector adapter since disabled services aren't available anymore [#149](https://github.com/dachcom-digital/pimcore-i18n/issues/149)
- Remove legacy mode check in profiler [#150](https://github.com/dachcom-digital/pimcore-i18n/issues/150)
Expand Down
6 changes: 2 additions & 4 deletions config/services/event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ services:
- { name: kernel.event_subscriber }

# override pimcore not found exception handling
Pimcore\Bundle\CoreBundle\EventListener\ResponseExceptionListener:
class: I18nBundle\EventListener\Frontend\ResponseExceptionListener
I18nBundle\EventListener\Frontend\ResponseExceptionListener:
decorates: Pimcore\Bundle\CoreBundle\EventListener\ResponseExceptionListener
calls:
- [ setLogger, [ '@logger' ] ]
tags:
- { name: kernel.event_subscriber }

0 comments on commit e83a9f3

Please sign in to comment.