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

Exclude __rawRelationData from being serialized + getBlockedVars() timizations #16596

Open
wants to merge 2 commits into
base: 11.2
Choose a base branch
from

Conversation

brusch
Copy link
Member

@brusch brusch commented Feb 12, 2024

No description provided.

@brusch brusch added the Bug label Feb 12, 2024
@brusch brusch added this to the 11.1.6 milestone Feb 12, 2024
Copy link

Review Checklist

  • Target branch (11.1 for bug fixes, others 11.x)
  • Tests (if it's testable code, there should be a test for it - get help)
  • Docs (every functionality needs to be documented, see here)
  • Migration incl. install.sql (e.g. if the database schema changes, ...)
  • Upgrade notes (deprecations, important information, migration hints, ...)
  • Label
  • Milestone

@kingjia90 kingjia90 reopened this Mar 12, 2024
@kingjia90 kingjia90 changed the base branch from 11.1 to 11.2 March 12, 2024 15:28
Copy link

sonarcloud bot commented Mar 12, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
1.4% Duplication on New Code

See analysis details on SonarCloud

@kingjia90 kingjia90 modified the milestones: 11.2.1, 11.2.2 Mar 14, 2024
@kingjia90 kingjia90 modified the milestones: 11.2.2, 11.2.3 Mar 26, 2024
@@ -168,7 +168,7 @@ public function setDataModificationDate(?int $dataModificationDate): static

protected function getBlockedVars(): array
{
$blockedVars = ['scheduledTasks', 'versions', 'parent', 'stream'];
$blockedVars = ['scheduledTasks', 'versions', 'stream'];
Copy link
Contributor

@kingjia90 kingjia90 Mar 27, 2024

Choose a reason for hiding this comment

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

Mhhh, why is like that the parent is not blocked anymore?
The parent element should be blocked and getted by the parentId instead, right?

@kingjia90 kingjia90 modified the milestones: 11.2.3, 11.2.4 Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants