ArrayInputFactory fails in production mode #7604
Labels
bug report
Component: Setup
Fixed in 2.2.x
The issue has been fixed in 2.2 release line
Fixed in 2.3.x
The issue has been fixed in 2.3 release line
Issue: Clear Description
Gate 2 Passed. Manual verification of the issue description passed
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Reproduced on 2.1.x
The issue has been reproduced on latest 2.1 release
I wrote a shell command that imports products from a custom format. At the end of the import process I need to call two other commands to launch a reindex and to empty cache.
To do so I get an Symfony\Component\Console\Input\ArrayInputFactory from my constructor and then I create the ArrayInput object in this way:
This used to work fine in 2.0 but in 2.1 it works only in developer mode. In production mode the command dies with the following error:
Preconditions
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: