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

ezpm Error: (eZFileHandler::copy) Unable to open source file in read mode

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.10.0alpha1, 3.8.8, 3.9.2
    • 3.8.3, 3.8.7, 3.9.1
    • Misc
    • None
    • Version: 3.8.3
      PHP Version:
      Webserver:
      Database:

    Description

      When using the command line package manager to create an ezcontentobject package I get this error several times:

      Error: (eZFileHandler::copy)
      Unable to open source file  in read mode
      

      By doing a debug backtrace I found out that this error appears when empty attributes with the image datatype are exported. The serialization function of the eZImage datatype does not take into account that the attribute could be empty and tries to copy an empty path.

      (first fix http://ez.no/community/bugs/ezpm_call_to_undefined_function_export_with_patch )

      Attachments

        Activity

          People

            cyberwolf cyberwolf
            cyberwolf cyberwolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: