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-5076: Fixed disabling ability to copy subtree #2091

Merged
merged 2 commits into from
Mar 28, 2023

Conversation

alongosz
Copy link
Member

@alongosz alongosz commented Feb 13, 2023

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

We checked emptiness of subtree_operations.copy_subtree.limit contextual setting which disallowed setting it to 0.

Given this is till this day the only one setting for that Config Parser, I've simplified the code to reduce cognitive complexity which probably led to this error.

Checklist:

  • Provided PR description.
  • Tested the solution manually.
  • Provided automated test coverage.
  • Checked that target branch is set correctly
  • Ran PHP CS Fixer for new PHP code (use $ composer fix-cs).
  • Asked for a review

@sonarcloud
Copy link

sonarcloud bot commented Feb 13, 2023

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 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@alongosz alongosz requested review from ViniTou and a team February 13, 2023 13:53
@konradoboza konradoboza requested a review from a team February 13, 2023 14:59
@micszo micszo self-assigned this Mar 28, 2023
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.

Retested successfully on Ibexa Experience 3.3.32-dev.

@alongosz alongosz force-pushed the ibx-5076-emptyish-copy-subtree-limit branch from 1bcff6a to fa40517 Compare March 28, 2023 12:59
@github-advanced-security
Copy link

You have successfully added a new SonarCloud configuration ``. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.

@alongosz alongosz force-pushed the ibx-5076-emptyish-copy-subtree-limit branch from fa40517 to 41f49d8 Compare March 28, 2023 13:16
@sonarcloud
Copy link

sonarcloud bot commented Mar 28, 2023

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 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

6 participants