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

Trying to install a legacy extension using composer raises a RuntimeException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.3.5.1
    • Fix Version/s: QA tracked issues
    • Labels:
      None
    • Environment:

      Operating System: CentOS 6.5 x64
      PHP Version: 5.3.3
      Database and version: Mysql 5.1.73
      Browser (and version): Firefox 37

      Description

      Trying to install a legacy extension in 5.3.x, gives the

      [RuntimeException]
        The lock file does not contain require-dev information, run install with the --no-dev option or run update to install those packages.
      
      Steps to Reproduce

      – Untar 5.3.0
      – Make an installation running ezsetup
      – Try to install ezfind (for instance) ( php composer.phar require --prefer-dist ezsystems/ezfind-ls:5.3.* ) as referred in documentation

      The above error appears.
      To avoid it, I removed composer.lock and re-tried the above command and the error no longer appeared.

      Even if I do an upgrade to 5.3.5, the exception still occurs.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            paulo.nunes-obsolete@ez.no Paulo Nunes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: