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

Content with same name as URL matcher will lead to broken links

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • Customer request, 5.4.9
    • 5.4.7, 5.4.8
    • None
    • None

    Description

      If we have a content with the same name as the matcher URI, then the matcher/siteaccess part of the URL will be discarded, leading to broken links.

      Steps to reproduce:
      1. Install demo site
      2. Configure TransformationGroup=urlalias_iri in site.ini
      3. Configure site admin to be matched with the following (http://fivefour.local/Admin/):

              match:
                  Compound\LogicalAnd:
                      my_compound_rule_1:                                            
                          matchers:                                                   
                              Map\URI:                                                
                                  Admin: true                                  
                              Map\Host:                                               
                                  fivefour.local: true
                          match: ezdemo_site_admin
      

      4. Create a new folder under images in media section and name the folder to be "Admin"
      5. Navigate to "Admin" folder and create a new image
      6. Try to navigate to the new image with the children list
      7. Error is shown because generated URL is malformed: http://fivefour.local/Media/Images/Admin/Photo
      8. Confirm that image is actually displayed under correct URL: http://fivefour.local/Admin/Media/Images/Admin/Photo

      Attachments

        Activity

          People

            Unassigned Unassigned
            ricardo.correia-obsolete@ez.no Ricardo Correia (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 - 3 days, 1 hour
                3d 1h