Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21628

Symfony routes overriding URLAliases in admin

    Details

      Description

      When you define a Symfony route, e.g.:

      myRoute:
          pattern: /Service/Contact
          _defaults: { controller: "MyBundle:ServiceController:contactAction" }
      

      If you have a content with URLAlias /Service/Contact, the Symfony route will have precedence on the frontend (this is expected), but also in the backend, which is really annoying since there is no way to bypass this behavior.

        Issue Links

          Activity

          Show
          Jérôme Vieilledent (Inactive) added a comment - Related forum topic: http://share.ez.no/forums/ez-publish-5-platform/routing.yml-per-siteaccess
          Show
          Jérôme Vieilledent (Inactive) added a comment - PR: https://github.com/ezsystems/ezpublish-kernel/pull/532
          Show
          Jérôme Vieilledent (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-kernel/commit/45c5078a5a40c1feb7bc3cf333f02d093f5937b9
          Show
          Jérôme Vieilledent (Inactive) added a comment - Documentation updated: https://confluence.ez.no/display/EZP/Legacy+code+and+features#Legacycodeandfeatures-LegacyMode
          Hide
          Filipe Dobreira (Inactive) added a comment -

          QA Approved.

          Show
          Filipe Dobreira (Inactive) added a comment - QA Approved.

            People

            • Assignee:
              Unassigned
              Reporter:
              Jérôme Vieilledent (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m