-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[3.0.3] [console] Notice on QuestionHelper #18001
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
I confirm this notice error message when trying your code on Symfony 3.0.3. |
fabpot
added a commit
that referenced
this issue
Mar 9, 2016
… non-sequentially indexed choices (jakzal) This PR was merged into the 2.7 branch. Discussion ---------- [Console] Fix an autocompletion question helper issue with non-sequentially indexed choices | Q | A | ------------- | --- | Branch | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #18001 | License | MIT | Doc PR | - Commits ------- 9c3247c [Console] Fix an autocompletion question helper issue with non-sequentially indexed choices
I see the merge references 2.7, does this automatically get ported to 3.0 too? |
@shopblocks not automatically, but we merge older branches to the newer ones regularly, so the fix will eventually get to 3.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I define my code as follows:
If i run this question and then press the up arrow, I get undefined offset '0' error.
I want to be able to number these options myself. If i dont number, then everything is fine, but if i do number then this is the result we get.
Full error:
PHP Notice: Undefined offset: 0 in /.../console/vendor/symfony/console/Helper/QuestionHelper.php on line 302
The text was updated successfully, but these errors were encountered: