Details
-
Bug
-
Resolution: Fixed
-
High
-
5.1-dev
-
Operating System: RHEL 6.3
PHP Version: 5.3.3
Database and version: Mysql 5.1.62
Browser (and version): Firefox 19.0
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