Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Doctrine Bridge] Fixed usage of wrong variable when tagged subscriber is invalid #27813

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

Merged
merged 1 commit into from
Jul 3, 2018

Conversation

stloyd
Copy link
Contributor

@stloyd stloyd commented Jul 3, 2018

Q A
Branch? 2.8
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #27811
License MIT

This change prevents error when invalid subscriber is being used.

Expected result:

The Doctrine connection "root" referenced in service "stof_doctrine_extensions.listener.sluggable" does not exist. Available connections names: default

Actual error:

Notice: Array to string conversion

@stloyd
Copy link
Contributor Author

stloyd commented Jul 3, 2018

Tests failure unrelated, will be fixed by: #27809

@fabpot
Copy link
Member

fabpot commented Jul 3, 2018

Thank you @stloyd.

@fabpot fabpot merged commit cf1bc66 into symfony:2.8 Jul 3, 2018
fabpot added a commit that referenced this pull request Jul 3, 2018
…ged subscriber is invalid (stloyd)

This PR was merged into the 2.8 branch.

Discussion
----------

[Doctrine Bridge] Fixed usage of wrong variable when tagged subscriber is invalid

| Q             | A
| ------------- | ---
| Branch?       | 2.8
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #27811
| License       | MIT

This change prevents error when invalid subscriber is being used.

Expected result:
```
The Doctrine connection "root" referenced in service "stof_doctrine_extensions.listener.sluggable" does not exist. Available connections names: default
```

Actual error:
```
Notice: Array to string conversion
```

Commits
-------

cf1bc66 [Doctrine Bridge] Fixed usage of wrong variable when tagged subscriber is invalid
@stloyd stloyd deleted the patch-7 branch August 6, 2018 11:56
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.

5 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.