Skip to content
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

EZP-31300: Refactored URL Search GW and handlers to rely on Doctrine #22

Conversation

alongosz
Copy link
Member

@alongosz alongosz commented Mar 29, 2020

Question Answer
JIRA issue EZP-31300 blocking EZP-30921 (#11)
Type improvement
Target eZ Platform version v3.0
BC breaks yes
Tests pass yes
Doc needed yes

This PR replaces usages of eZc DatabaseHandler with Doctrine Connection and QueryBuilder in URL Search Gateway and Criteria handlers. The alignment of tests is separated from production code changes for the Reviewers convenience.

Note that only some changes to code style and strict types are applied. They're out of scope anyway and, when it comes to strict types, too risky to be handled now, before final.

For the overview of package-wide changes related to the subject see #11

Doc:

Please see doc/bc/changes-1.0.md (9b9c5bd) in this PR

Checklist:

  • PR description is updated.
  • Tests are aligned.
  • Added code follows Coding Standards (use $ composer fix-cs).
  • PR is ready for a review.

* Refactored URL Search gateway and criteria handlers to rely on Doctrine Connection and Query Builder instead eZc Database Handler
@alongosz alongosz added Improvement Changes not fixing or changing behavior Ready for review labels Mar 29, 2020
alongosz added a commit that referenced this pull request Mar 29, 2020
…22)

Squashed commit of the following:

commit 9b9c5bd
Author: Andrew Longosz <alongosz@users.noreply.github.com>
Date:   Mon Mar 30 01:05:33 2020 +0200

    EZP-31300: [Doc] Documented breaking changes

commit 5946c1c
Author: Andrew Longosz <alongosz@users.noreply.github.com>
Date:   Mon Mar 30 00:58:24 2020 +0200

    EZP-31300: [Tests] Aligned tests related to URL Search

commit 43a84f7
Author: Andrew Longosz <alongosz@users.noreply.github.com>
Date:   Mon Mar 30 00:50:52 2020 +0200

    EZP-31300: Refactored URL Search GW and handlers to rely on Doctrine

    * Refactored URL Search gateway and criteria handlers to rely on Doctrine Connection and Query Builder instead eZc Database Handler
@alongosz alongosz requested a review from adamwojs March 30, 2020 10:52
@micszo micszo self-assigned this Mar 30, 2020
Copy link
Member

@micszo micszo left a comment

Choose a reason for hiding this comment

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

QA Approved on eZ Platform EE master with branch.

@micszo micszo removed their assignment Mar 31, 2020
@alongosz alongosz merged commit 3ef5eda into ezsystems:master Mar 31, 2020
@alongosz alongosz deleted the ezp-31300-replaced-dbh-with-doctrine-in-url-search branch March 31, 2020 13:17
@alongosz
Copy link
Member Author

FYI @ezsystems/documentation-team.

Steveb-p pushed a commit that referenced this pull request Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Changes not fixing or changing behavior QA approved
Development

Successfully merging this pull request may close these issues.

5 participants