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

PathPrefix still present when using ezpLanguageSwitcher

    Details

      Description

      When checking wether pathPrefix sould be removed or not, it is assumed that you already are in a subfolder of the PathPrefix. The case where you want to go to the root of your pathPrefix folder is not properly handled.

      Ex:

      • Home
        • MyPathPrefixFolder
          • News
          • Contents
          • ...
        • MyOtherFolder

      Let's say "MyPathprefixFolder" is the home folder for a siteaccess, then you'll have in your site.ini

      site.ini

      PathPrefix=MyPathPrefixFolder

      When switching language directly from your homepage, the PathPrefix is added to the new language:
      mywebsite.com/switchlanguage/to/fr/ redirects to fr.mywebsite.com/MyPathPrefixFolder instead of just fr.mywebsite.com.

        Issue Links

          Activity

          Show
          Yannick Roger (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-legacy/commit/e2888c714567e78ef30442586b90170175323dd7
          Hide
          Pedro Resende (Inactive) added a comment - - edited

          This issue is blocked by EZP-23838

          Show
          Pedro Resende (Inactive) added a comment - - edited This issue is blocked by EZP-23838
          Hide
          Paulo Nunes (Inactive) added a comment -

          Following the same decision as in EZP-23483, this issue will be tested in pure legacy. There is already an issue with PathPrefix for Symfony stack. (EZP-23838)

          Show
          Paulo Nunes (Inactive) added a comment - Following the same decision as in EZP-23483 , this issue will be tested in pure legacy. There is already an issue with PathPrefix for Symfony stack. ( EZP-23838 )
          Hide
          Pedro Resende (Inactive) added a comment -

          Tested and approved by Q.A.

          Show
          Pedro Resende (Inactive) added a comment - Tested and approved by Q.A.
          Hide
          Eduardo Fernandes (Inactive) added a comment -

          QA Tested and Approved

          Show
          Eduardo Fernandes (Inactive) added a comment - QA Tested and Approved

            People

            • Assignee:
              Unassigned
              Reporter:
              oz.conseil Conseil
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: