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

Inception! Error when trying to run script through ezpublish:legacy:script on master

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • QA tracked issues
    • 2015.11.1
    • Legacy stack
    • None
    • Debian 7
      PHP 5.4.45-0+deb7u2
      mysql Ver 14.14 Distrib 5.5.46

    Description

      Steps to reproduce:

      1. Ensure a master installation with legacy bridge and legacy installed;

      2. From your ezpublish root directory, on a master, simply run:

      php ezpublish/console ezpublish:legacy:script update/common/scripts/5.4/fixtrashedimagereferences.php
      

      You will see:

      Running script 'update/common/scripts/5.4/fixtrashedimagereferences.php' in eZ Publish legacy context
        [RuntimeException]
        Trying to run recursive callback in legacy kernel! Inception!
      ezpublish:legacy:script [--legacy-help] [--] <script>
      

      The script works anyway, and removes invalid wrong xml image references from the database (EZP-25077, out of this issue scope), but the error shouldn't happen anyway.
      The error does not happen on a 5.4.5, for instance.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rui.silva-obsolete@ez.no Rui Silva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: