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

Folder on root with same name as a siteaccess makes a redirect

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 5.1.0beta1
    • Documentation
    • Server OS: Red Hat 6.4
      PHP: 5.3.3
      Database: MySQL 5.1.61
      Browser: Firefox 18.0.1

    Description

      If you have defined in ezpublish.yml:

      ezpublish:
          siteaccess:
              list:
                  - admin
                  - bug_test
      (...)
      

      Steps to reproduce:

      1 - add "bug_test" to ezpublish.yml
      2 - make a login to any interface with an editor or administrator
      3 - create a folder (on root) named "bug_test"
      4 - click on the newly created folder
      5 - verify the exception "TwigBundle:Exception:error500.html.twig"
      

      This also happens if you have a real site access, it will redirect to that site access:
      ex:

      (considering that the ezwebin_site as default site)
      1 - login into ezwebin as "admin" (http://<your site>/)
      2 - create a new folder named "ezwebin_site"
      3 - click on the newly created folder "ezwebin_site"
      4 - verify that you get redirected to http://<your site>/ezwebin_site
      (that is in fact where we were before)
      5 - click again no the newly created folder "ezwebin_site"
      6 - verify that it opened the folder
      7 - verify that url looks something like http://<your site>/ezwebin_site/ezwebin_site
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcos.loureiro-obsolete@ez.no Marcos Loureiro (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 - 7 hours, 45 minutes
                7h 45m