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

[Messenger] Disable the SchemaAssetsFilter when setup the transport#31625

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

Conversation

@vincenttouzet
Copy link
Contributor

QA
Branch?4.3
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#31623
LicenseMIT
Doc PRsymfony/symfony-docs#...

@chalasr
Copy link
Member

Tests seem broken

@vincenttouzet
Copy link
ContributorAuthor

Tests seem broken

Yes I'm on it 😉

chalasr reacted with thumbs up emoji

@vincenttouzetvincenttouzetforce-pushed the31623_messenger_doctrine_schema_filter branch 3 times, most recently from638cffd to1536f42CompareMay 26, 2019 15:12
@vincenttouzetvincenttouzetforce-pushed the31623_messenger_doctrine_schema_filter branch from1536f42 to8cbb8f8CompareMay 26, 2019 15:41
@vincenttouzet
Copy link
ContributorAuthor

Well the fix is uglier than I thought 🤔

As of Doctrine 2.9 the method to configure the assets filter has changed :doctrine/dbal@111e42d

doctrine-dbal 2.9 introduce the new methodsgetSchemaAssetsFilter /setSchemaAssetsFilter. Before it wasgetFilterSchemaAssetsExpression /getFilterSchemaAssetsExpression

So I need to try if the method exists before

@weaverryan
Copy link
Member

Quick work - thanks! Yea, that got ugly :). I can't think of another way either - can anyone else? If not, I think we need this - without it, it's an even uglier situation for the user.

deivid11 reacted with laugh emoji

Copy link
Member

@fabpotfabpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Let's merge as is for 4.3. We will have time to tweak it if possible in 4.4.

@fabpot
Copy link
Member

Thank you@vincenttouzet.

@fabpotfabpot merged commit8cbb8f8 intosymfony:4.3May 27, 2019
fabpot added a commit that referenced this pull requestMay 27, 2019
…transport (vincenttouzet)This PR was merged into the 4.3 branch.Discussion----------[Messenger] Disable the SchemaAssetsFilter when setup the transport| Q             | A| ------------- | ---| Branch?       | 4.3| Bug fix?      | yes| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->| BC breaks?    | no     <!-- seehttps://symfony.com/bc -->| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->| Fixed tickets |#31623| License       | MIT| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->Commits-------8cbb8f8 [Messenger] Disable the SchemaAssetsFilter when setup the transport
@fabpotfabpot mentioned this pull requestMay 28, 2019
fabpot added a commit that referenced this pull requestApr 8, 2024
…es on setup (MatTheCat)This PR was merged into the 5.4 branch.Discussion----------[Messenger] Make Doctrine connection ignore unrelated tables on setup| Q             | A| ------------- | ---| Branch?       | 5.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Issues        |Fix#49108| License       | MITIntrospecting the whole database can cause issues like Doctrine crashing on unknown column types. This PR updates the schema assets filter (added by#31625) to only consider the messages table, as it is the only one a connection setup needs to care about.Commits-------22dab67 [Messenger] Make Doctrine connection ignore unrelated tables on setup
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.3

Development

Successfully merging this pull request may close these issues.

5 participants

@vincenttouzet@chalasr@weaverryan@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp