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

Module redirection in legacy sometimes lead to have double siteaccess in URI

    XMLWordPrintable

    Details

      Description

      In some cases, a redirection from a legacy module are invalid, having the siteaccess in the URI twice. This only occurs with URI siteaccess matching, in both legacy and Symfony stacks.

      How to reproduce:

      Having an eZ webin installation with ez comments extension (5.1.0-alpha1), i have an error when deleting a posted comment.

      • A comment is posted.
      • From the admin interface, delete the comment from the content preview window and confirm in the next page.
      • The error happens when being redirected back to the content. In the url I have a double "ezwebin_site_admin" when i should have only one:
        http://<my_site>/ezwebin_site_admin/ezwebin_site_admin/Folder1/Comments-system-testing
        

      The error i have is:

      
      You are here: Error / kernel (20)  
      [26/02/2013 12:08 pm] The requested page could not be displayed. (20)
      
      The requested address or module could not be found.
      
      Possible reasons:
      
          The address was misspelled. Try changing the URL.
          The name of the module was misspelled. Try changing the URL.
          There is no <ezwebin_site_admin> module available on this site.
          The site is using URL matching to determine which siteaccess to use, but the name of the siteaccess is missing from the URL. Try to add the name of the siteaccess; it should be specified before the name of the module.
      
      

      In debug output i have

      Error: index 	Feb 26 2013 12:08:22
      
      Undefined module: ezwebin_site_admin
      
      Error: error/view.php 	Feb 26 2013 12:08:22
      
      Error ocurred using URI: /ezwebin_site_admin/ezwebin_site_admin/Folder1/Comments-system-testing
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                paulo.nunes-obsolete@ez.no Paulo Nunes (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 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 - 1 day, 3 hours, 30 minutes
                  1d 3h 30m