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-32361: Fixed Subtree copying when child is invisible #3104

Merged
merged 2 commits into from
May 29, 2021

Conversation

barw4
Copy link
Member

@barw4 barw4 commented May 14, 2021

Question Answer
JIRA issue EZP-32361
Bug yes
New feature no
Target version 7.5
BC breaks no
Tests pass yes
Doc needed no

TODO:

  • Fix a bug.
  • Implement tests.
  • Fix new code according to Coding Standards ($ composer fix-cs).
  • Ask for Code Review.

@adamwojs
Copy link
Member

@barw4 CI is failing here.

@barw4 barw4 requested a review from a team May 20, 2021 18:00
@micszo micszo self-assigned this May 27, 2021
Comment on lines +2558 to +2563
self::assertEquals(count($expected), count($actual));

foreach ($actual as $key => $properties) {
self::assertEquals($expected[$key]['hidden'], $properties['hidden']);
self::assertEquals($expected[$key]['invisible'], $properties['invisible']);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

In general usage of self::assertSame is preferred. It's similar to using == vs === - if there is no reason for non-strict comparison, strict should be used.

Copy link

@kacper-wieczorek-ibexa kacper-wieczorek-ibexa left a comment

Choose a reason for hiding this comment

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

QA Approve. Tested on v2.5.19 ee, v3.2.7-dev experience, 3.3.3-dev experience.

@lserwatka lserwatka merged commit bc8e449 into 7.5 May 29, 2021
@lserwatka lserwatka deleted the ezp-32361-copy-subtree-content-visibility branch May 29, 2021 10:54
@lserwatka
Copy link
Member

You can merge it up.

@barw4
Copy link
Member Author

barw4 commented May 31, 2021

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.

7 participants