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

BUGFIX: Add missing event emitters to internal node properties #5343

Open
wants to merge 1 commit into
base: 8.3
Choose a base branch
from

Conversation

Benjamin-K
Copy link
Contributor

Review instructions

Currently, when using the event log, internal node data is not logged. So whenever an internal property like _hiddenBeforeDateTime is changed, you can't see that property in the event log. Therefore, this PR adds missing event emitters to the methods used to set the internal properties.

resolved: #3284

Checklist

  • Code follows the PSR-2 coding style
  • Tests have been created, run and adjusted as needed
  • The PR is created against the lowest maintained branch
  • Reviewer - PR Title is brief but complete and starts with FEATURE|TASK|BUGFIX
  • Reviewer - The first section explains the change briefly for change-logs
  • Reviewer - Breaking Changes are marked with !!! and have upgrade-instructions

@Benjamin-K
Copy link
Contributor Author

By looking into the Code: Shouldn't we also log an event, whenever PublishingService::emitNodeDiscarded($node, $baseWorkspace) is emitted?

Copy link
Member

@mhsdesign mhsdesign left a comment

Choose a reason for hiding this comment

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

thanks for providing this fix ;) i thought the thing was never going to be fixed and eventually going to be rewritten for Neos 9.0 but you proof me wrong :D

The question is if this is breaking in any way - because the signal is now trigger more often - or if we should create a emitInternalNodeProperty changed thing?

maybe @Sebobo can judge the breakyness better ;) i think it should be good to go.

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.

2 participants