Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-16

dbal:import throws LogicException - Cannot add an argument after an array argument.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-BETA2
    • Fix Version/s: 2.0.0-RC1-RC3
    • Component/s: None
    • Labels:
      None

      Description

      If I run the following command:

      php doctrine.php dbal:import "..\data\sql\initial-data.sql"

      I get:

      [LogicException]
      Cannot add an argument after an array argument.

        Issue Links

          Activity

          Hide
          Benjamin Eberlei added a comment -

          This seems to be a bug in the symfony console component, i'll check it out.

          Show
          Benjamin Eberlei added a comment - This seems to be a bug in the symfony console component, i'll check it out.
          Hide
          Benjamin Eberlei added a comment -

          pushed bug upstream, marking as trivial

          Show
          Benjamin Eberlei added a comment - pushed bug upstream, marking as trivial
          Hide
          Nurul Ferdous added a comment -

          I am getting same. it seems an old issue. we would to see it resolved.

          Show
          Nurul Ferdous added a comment - I am getting same. it seems an old issue. we would to see it resolved.
          Hide
          Benjamin Eberlei added a comment -

          As i said, its an upstream bug. Symfony hasnt fixed it yet.

          Show
          Benjamin Eberlei added a comment - As i said, its an upstream bug. Symfony hasnt fixed it yet.
          Hide
          Aaron Heimlich added a comment -
          Show
          Aaron Heimlich added a comment - The Symfony bug that this relates to ( http://trac.symfony-project.org/ticket/8336 ) has been fixed for a while now (see http://github.com/symfony/symfony/blob/master/src/Symfony/Component/Console/Input/InputDefinition.php#L71 ).
          Hide
          Benjamin Eberlei added a comment -

          Updated to latest Console version to fix this bug.

          Show
          Benjamin Eberlei added a comment - Updated to latest Console version to fix this bug.

            People

            • Assignee:
              Benjamin Eberlei
              Reporter:
              Glen Ainscow
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: