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

updateniceurls.php script stoped working

    XMLWordPrintable

Details

    Description

      Until just recently, a desperate solution for messed up url aliases related issues was to truncate ezurlalias_ml table and regenerate nice urls using the existing script.
      Currently updateniceurls.php fails with an exception if the table is empty

      steps to reproduce:
      • truncate ezurlalias_ml table
      • execute the legacy script (through SF console)
        => expected result: the script would execute and regenerate all urls
        => actual result. The script will fail with the following error:
          [eZ\Publish\Core\Base\Exceptions\NotFoundException]  
          Could not find 'URLAlias' with identifier '2'   
        

      Attachments

        Activity

          People

            Unassigned Unassigned
            joaquim.cavalleri-obsolete@ez.no Joaquim Cavalleri (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: