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

        Nuno Oliveira (Inactive) created issue -
        Nuno Oliveira (Inactive) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Confirmed [ 10037 ]
        Gunnstein Lye made changes -
        Status Confirmed [ 10037 ] InputQ [ 10001 ]
        Yannick Roger (Inactive) made changes -
        Status InputQ [ 10001 ] Development [ 3 ]
        Assignee Yannick Roger [ yannick.roger@ez.no ]
        Yannick Roger (Inactive) made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 1 hour [ 3600 ]
        Worklog Id 43800 [ 43800 ]
        Yannick Roger (Inactive) logged work - 18/Dec/13 6:44 PM
        • Time Spent:
          1 hour
           

          .

        Yannick Roger (Inactive) made changes -
        Summary "Tab" characters in node name cause Kernel 20 (page not found) error "Tab" characters in node name error (urlalias_iri)
        Show
        Yannick Roger (Inactive) added a comment - PR: https://github.com/ezsystems/ezpublish-legacy/pull/853
        Yannick Roger (Inactive) made changes -
        Status Development [ 3 ] Development review [ 10006 ]
        Yannick Roger (Inactive) made changes -
        Time Spent 1 hour [ 3600 ] 3 hours [ 10800 ]
        Worklog Id 43842 [ 43842 ]
        Yannick Roger (Inactive) logged work - 19/Dec/13 5:27 PM
        • Time Spent:
          2 hours
           

          .

        Show
        Yannick Roger (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-legacy/commit/b5c4698aa969bc20499e6444fb9657257d3571af
        Yannick Roger (Inactive) made changes -
        Time Spent 3 hours [ 10800 ] 4 hours [ 14400 ]
        Worklog Id 43887 [ 43887 ]
        Yannick Roger (Inactive) made changes -
        Status Development review [ 10006 ] Development Review done [ 10028 ]
        Affects Version/s 5.2 [ 12582 ]
        Affects Version/s 5.1 [ 11280 ]
        Affects Version/s 5.0 [ 10300 ]
        Affects Version/s 5.3-dev [ 12979 ]
        Fix Version/s 4.7 Maintenance [ 12583 ]
        Fix Version/s 5.0 Maintenance [ 11287 ]
        Fix Version/s 5.3 [ 11282 ]
        Fix Version/s 5.1 Maintenance [ 12301 ]
        Fix Version/s 5.2 Maintenance [ 12782 ]
        Yannick Roger (Inactive) made changes -
        Status Development Review done [ 10028 ] Documentation done [ 10011 ]
        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.
        Yannick Roger (Inactive) logged work - 20/Dec/13 5:10 PM
        • Time Spent:
          1 hour
           

          .

        Pedro Resende (Inactive) made changes -
        Status Documentation done [ 10011 ] QA [ 10008 ]
        Assignee Yannick Roger [ yannick.roger@ez.no ] Pedro Resende [ pedro.resende@ez.no ]
        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.
        Pedro Resende (Inactive) made changes -
        Assignee Pedro Resende [ pedro.resende@ez.no ]
        Status QA [ 10008 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Pedro Resende (Inactive) logged work - 23/Dec/13 5:41 PM
        • Time Spent:
          2 hours
           

          Analyse and reproduce issue, write test case and verify the issue has been fixed after applying the patch

        Pedro Resende (Inactive) made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Pedro Resende (Inactive) made changes -
        Time Spent 4 hours [ 14400 ] 6 hours [ 21600 ]
        Worklog Id 43914 [ 43914 ]
        Pedro Resende (Inactive) made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 60449 ] EZ* Development Workflow [ 84592 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 84592 ] EZEE Development Workflow [ 123256 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Confirmed Confirmed
        5m 39s 1 nuno.oliveira@ez.no 13/Dec/13 7:49 PM
        Confirmed Confirmed InputQ InputQ
        2d 13h 48m 1 Gunnstein Lye 16/Dec/13 9:37 AM
        InputQ InputQ Development Development
        2d 5h 35m 1 yannick.roger@ez.no 18/Dec/13 3:13 PM
        Development Development Development Review Development Review
        1d 20m 1 yannick.roger@ez.no 19/Dec/13 3:34 PM
        Development Review Development Review Development Review done Development Review done
        1d 37m 1 yannick.roger@ez.no 20/Dec/13 4:11 PM
        Development Review done Development Review done Documentation Review done Documentation Review done
        14s 1 yannick.roger@ez.no 20/Dec/13 4:11 PM
        Documentation Review done Documentation Review done QA QA
        2d 19h 30m 1 pedro.resende@ez.no 23/Dec/13 11:42 AM
        QA QA Closed Closed
        1h 39m 1 pedro.resende@ez.no 23/Dec/13 1:22 PM
        Closed Closed Reopened Reopened
        4h 20m 1 pedro.resende@ez.no 23/Dec/13 5:42 PM
        Reopened Reopened Closed Closed
        0s 1 pedro.resende@ez.no 23/Dec/13 5:42 PM

          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