Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[Notifier] Use correct factory for the msteams transport#44771

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:5.3fromveewee:5.3-teams-notifier
Dec 23, 2021

Conversation

@veewee
Copy link
Contributor

QA
Branch?5.3
Bug fix?yes
New feature?no
Deprecations?no
Tickets
LicenseMIT
Doc PR

Creating a microsoft teams transport through theNotifierTransport::fromDsn() class results in an exception:

PHP Fatal error:  Uncaught TypeError: Symfony\Component\Notifier\Bridge\MicrosoftTeams\MicrosoftTeamsTransport::__construct(): Argument #1 ($path) must be of type string, null given, called in /vendor/symfony/notifier/Transport.php on line 186 and defined in /vendor/symfony/microsoft-teams-notifier/MicrosoftTeamsTransport.php:35Stack trace:* snap *

This PR uses the correct ms teams transport factory instead.
It is pointed at the5.3 branch, in which this specific transport was introduced.
The error is also there in all versions upwards. Seehttps://github.com/symfony/symfony/blob/6.1/src/Symfony/Component/Notifier/Transport.php#L84

@fabpot
Copy link
Member

Thank you@veewee.

veewee reacted with hooray emoji

@fabpotfabpot merged commit908b21f intosymfony:5.3Dec 23, 2021
@OskarStark
Copy link
Contributor

Good catch, thank you 🙏

This was referencedDec 29, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@OskarStarkOskarStarkAwaiting requested review from OskarStarkOskarStark is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

5.3

Development

Successfully merging this pull request may close these issues.

4 participants

@veewee@fabpot@OskarStark@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp