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

404 error if you rename your content in a multilingual site without "default object availability"

    XMLWordPrintable

    Details

      Description

      If you have a multi language site

      Assuming the ID of the first content object you created to these steps is 110, use the following query to track the results

      SELECT action, id, is_alias, is_original, lang_mask, text
      FROM ezurlalias_ml
      WHERE action_type = "eznode"
      AND id >= 110;

      Steps to reproduce, using Legacy admin UI

      1) Create an article in English named "EZ #001"
      +------------+-----+----------+-------------+-----------+--------+
      | action     | id  | is_alias | is_original | lang_mask | text   |
      +------------+-----+----------+-------------+-----------+--------+
      | eznode:128 | 110 |        0 |           1 |         2 | EZ-001 |
      +------------+-----+----------+-------------+-----------+--------+
      2) Translate "EZ #001" in Portuguese with the same name:
      +------------+-----+----------+-------------+-----------+--------+
      | action     | id  | is_alias | is_original | lang_mask | text   |
      +------------+-----+----------+-------------+-----------+--------+
      | eznode:128 | 110 |        0 |           1 |         6 | EZ-001 |
      +------------+-----+----------+-------------+-----------+--------+
      3) Rename "EZ #001" in English to "EZ #002"
      +------------+-----+----------+-------------+-----------+--------+
      | action     | id  | is_alias | is_original | lang_mask | text   |
      +------------+-----+----------+-------------+-----------+--------+
      | eznode:128 | 110 |        0 |           1 |         4 | EZ-001 |
      | eznode:128 | 110 |        0 |           1 |         2 | EZ-002 |
      +------------+-----+----------+-------------+-----------+--------+
      3) If you try to open the old name - http://ezpublish.local/EZ-001 - in your frontend, you will get a "404 / Module not found" error.

      This issue might be related with EZP-26082

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: