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

Cannot import package(s) created by ezpm.php (PHP fatal error)

    XMLWordPrintable

    Details

      Description

      Importing a package created with ezpm.php fails with a PHP fatal error, either in the administration siteaccess or using ezpm.php cli command:

      PHP Fatal error:  Call to a member function getAttribute() on a non-object in /var/www/ezp53/ezpublish_legacy/kernel/classes/ezpackage.php on line 1982
      
      Steps to reproduce:
      $ php ezpublish/console ezpublish:legacy:script ezpm.php create test_package "Test Package Creation"
      $ php ezpublish/console ezpublish:legacy:script --siteaccess=ezdemo_site_admin ezpm.php add test_package ezcontentobject --exclude-templates 'Tests/*'
      $ php ezpublish/console ezpublish:legacy:script --siteaccess=ezdemo_site_admin ezpm.php export test_package --output -d .
      

      Try to import the package on another environment, either with ezpm.php or through the admin interface.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              joao.inacio-obsolete@ez.no Joao Inacio (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: