Skip to content

[DoctrineBridge] fix issue with missing stopwatch events #49079

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

Closed
wants to merge 0 commits into from

Conversation

dmaicher
Copy link
Contributor

@dmaicher dmaicher commented Jan 23, 2023

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix doctrine/DoctrineBundle#1622
License MIT
Doc PR symfony/symfony-docs#...

This fixes doctrine/DoctrineBundle#1622

We were not triggering the stopwatch events/sections properly when using prepared statements.

Now it works:

image

image

@carsonbot
Copy link

Hey!

To help keep things organized, we don't allow "Draft" pull requests. Could you please click the "ready for review" button or close this PR and open a new one when you are done?

Note that a pull request does not have to be "perfect" or "ready for merge" when you first open it. We just want it to be ready for a first review.

Cheers!

Carsonbot

@dmaicher dmaicher marked this pull request as ready for review January 23, 2023 16:38
@carsonbot carsonbot added this to the 5.4 milestone Jan 23, 2023
@dmaicher dmaicher force-pushed the fix/doctrine_bundle_issue_1622 branch from 65788a3 to 56c9f92 Compare January 23, 2023 16:40
@dmaicher
Copy link
Contributor Author

dmaicher commented Feb 8, 2023

@stof maybe you have some time to review this?

Copy link
Member

@fabpot fabpot left a comment

Choose a reason for hiding this comment

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

Minor CS comments

@fabpot
Copy link
Member

fabpot commented Apr 5, 2023

Thank you @dmaicher.

fabpot added a commit that referenced this pull request Apr 5, 2023
…dmaicher)

This PR was squashed before being merged into the 5.4 branch.

Discussion
----------

[DoctrineBridge] fix issue with missing stopwatch events

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix doctrine/DoctrineBundle#1622
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->
<!--
Replace this notice by a short README for your feature/bugfix.
This will help reviewers and should be a good start for the documentation.

Additionally (see https://symfony.com/releases):
 - Always add tests and ensure they pass.
 - Bug fixes must be submitted against the lowest maintained branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against the latest branch.
 - For new features, provide some code snippets to help understand usage.
 - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
 - Never break backward compatibility (see https://symfony.com/bc).
-->

This fixes doctrine/DoctrineBundle#1622

We were not triggering the stopwatch events/sections properly when using prepared statements.

Now it works:

![image](https://user-images.githubusercontent.com/921145/214097708-2986e3c9-262e-4b7e-903e-9b7e0dda208e.png)

![image](https://user-images.githubusercontent.com/921145/214097936-67948cb3-63ad-4eff-b53e-f8ff9e12a7f0.png)

Commits
-------

52f4f7b [DoctrineBridge] fix issue with missing stopwatch events
@fabpot fabpot closed this Apr 5, 2023
@fabpot fabpot force-pushed the fix/doctrine_bundle_issue_1622 branch from f69dd0f to 52f4f7b Compare April 5, 2023 05:20
@dmaicher dmaicher deleted the fix/doctrine_bundle_issue_1622 branch April 5, 2023 12:19
@fabpot fabpot mentioned this pull request Apr 13, 2023
@fabpot fabpot mentioned this pull request Apr 28, 2023
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