-
Notifications
You must be signed in to change notification settings - Fork 227
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
Fixes #6892 Attempt to read property "id" on bool [...] AbstractQueries.php #7032
Conversation
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more Footnotes
|
inc/Engine/Common/PerformanceHints/Database/Queries/AbstractQueries.php
Outdated
Show resolved
Hide resolved
Since there are no clear reproducible steps, here is a plan for smoke on clear performance hints https://wpmediaqa.testrail.io/index.php?/runs/view/913&group_by=cases:section_id&group_order=asc |
inc/Engine/Common/PerformanceHints/Database/Queries/AbstractQueries.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Smoke test for delete URLs from DB is good.
testrail-report-648.pdf
Description
Fixed error with attempt to read property on false
Fixes #6892
Type of change
Detailed scenario
Check https://wp-media.slack.com/archives/C43T1AYMQ/p1728661812952229 for more detailed
Technical description
Add a check before for the
item
object and if the id is set before attempting to deleteDocumentation
Mandatory Checklist
Code validation
Code style