Skip to content

Conversation

@yceruto
Copy link
Member

@yceruto yceruto commented Jun 6, 2019

Q A
Branch? master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Fix #31702

(1/1) OutOfBoundsException
The index "2" is not in the range [0, 1].

public function __construct(LoaderResolverInterface $resolver, array $defaultOptions = [])

@nicolas-grekas
Copy link
Member

Thank you @yceruto.

@nicolas-grekas nicolas-grekas merged commit 5e2e79d into symfony:master Jun 6, 2019
nicolas-grekas added a commit that referenced this pull request Jun 6, 2019
…der` service (yceruto)

This PR was merged into the 5.0-dev branch.

Discussion
----------

[FrameworkBundle] Fixed replace argument of `routing.loader` service

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Fix #31702
> (1/1) OutOfBoundsException
The index "2" is not in the range [0, 1].

https://github.com/symfony/symfony/blob/bd8d8a2cfd50dffb4aa07908865931fb82a9e7bf/src/Symfony/Bundle/FrameworkBundle/Routing/DelegatingLoader.php#L33

Commits
-------

5e2e79d Fixed replace argument of `routing.loader` service
@yceruto yceruto deleted the fix_31702 branch June 6, 2019 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants