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

IBX-6484: Added check if $row is empty to prevent error #384

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

mateuszdebinski
Copy link
Contributor

@mateuszdebinski mateuszdebinski commented Sep 7, 2023

Question Answer
JIRA issue IBX-6484
Type bug
Target Ibexa version v3.3
BC breaks no

we already have the same mechanism in many places, it protects against errors with the lack or inconsistency of the content version, such as for location 1

Checklist:

  • Provided PR description.
  • Tested the solution manually.
  • Provided automated test coverage.
  • Checked that target branch is set correctly (master for features, the oldest supported for bugs).
  • Ran PHP CS Fixer for new PHP code (use $ composer fix-cs).
  • Asked for a review (ping @ezsystems/engineering-team).

@mateuszdebinski mateuszdebinski added Bug Something isn't working Ready for review labels Sep 7, 2023
@mateuszdebinski mateuszdebinski requested a review from a team September 7, 2023 09:09
@mateuszdebinski mateuszdebinski self-assigned this Sep 7, 2023
Copy link
Member

@konradoboza konradoboza left a comment

Choose a reason for hiding this comment

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

Would it make sense to add some test coverage @alongosz?

@konradoboza konradoboza requested a review from a team September 19, 2023 07:24
Copy link
Member

@alongosz alongosz left a comment

Choose a reason for hiding this comment

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

Would it make sense to add some test coverage @alongosz?

We need integration test coverage reproducing exactly this issue on API level. This would help me understand if the fix is in the proper place // @mateuszdebinski

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@mateuszdebinski mateuszdebinski requested review from alongosz and a team September 21, 2023 07:57
Copy link

@tomaszszopinski tomaszszopinski 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 IbexaDXP 3.3 commerce.

@alongosz alongosz merged commit c225702 into 1.3 Sep 27, 2023
27 checks passed
@alongosz alongosz deleted the IBX-6484_location_1_error_subtree branch September 27, 2023 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working QA approved
Development

Successfully merging this pull request may close these issues.

7 participants