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

"Tab" characters in node name error (urlalias_iri)

    Details

      Description

      A node with a name containing a "tab" character (at the beginning, middle or end, doesn't matter) can be created and edited, but not retrieved by clicking on that node's URL. When that is done, a Kernel 20 (page not found) error is generated. This only happens when international URLs are used - site.ini:[URLTranslator]TransformationGroup=urlalias_iri.

      Steps to reproduce:

      1. Make sure international URLs are used. Go to "./settings/override/site.ini.append.php" and add:

      [URLTranslator]
      TransformationGroup=urlalias_iri
      

      2. Clear eZ Publish cache;
      3. Go to the admin interface and create a node - e.g. article - with a name containing a "tab" character e.g. "Article 1<tab_character>". For bug reproducing purposes, the "tab" (or "tabs", for that matter) can be placed anywhere in the node's name;
      4. Fill in all the other required fields, and publish;
      5. Still in the admin interface, try to access the node by clicking on its link. A Kernel 20 (page not found) error is generated. Note that on the resulting URL, the "tab" character was replaced by an underscore e.g. .../Article-1_;

        Activity

        Show
        Yannick Roger (Inactive) added a comment - PR: https://github.com/ezsystems/ezpublish-legacy/pull/853
        Show
        Yannick Roger (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-legacy/commit/b5c4698aa969bc20499e6444fb9657257d3571af
        Hide
        Yannick Roger (Inactive) added a comment -

        To fix existing broken nodes
        Once the patch applied, editing the node's name will regenerate it or use php bin/php/updateniceurls.php to do bulk node updates.

        Show
        Yannick Roger (Inactive) added a comment - To fix existing broken nodes Once the patch applied, editing the node's name will regenerate it or use php bin/php/updateniceurls.php to do bulk node updates.
        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.

          People

          • Assignee:
            Unassigned
            Reporter:
            Nuno Oliveira (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            6 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 - 6 hours
              6h