Skip to content

BUGFIX: Remove unused variable assignment#3463

Open
theilm wants to merge 1 commit intoneos:9.0from
theilm:patch-1
Open

BUGFIX: Remove unused variable assignment#3463
theilm wants to merge 1 commit intoneos:9.0from
theilm:patch-1

Conversation

@theilm
Copy link
Copy Markdown
Contributor

@theilm theilm commented Apr 1, 2025

Fixes #3395

Without the fix, there are warnings in current PHP versions.

Copy link
Copy Markdown
Member

@kitsunet kitsunet left a comment

Choose a reason for hiding this comment

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

Fine by me, thanks for noticing!

Note for later: We should probably take care of having cache here again. Haven't looked into the history but I assume way back we used a shutdown object function to turn the array of newExpressions into cache entries but that is no longer the case. We should probably look at \Neos\Eel\CompilingEvaluator::evaluate() on how to deal with cache...

Copy link
Copy Markdown
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.

jup as it seems there was indeed a cache in the CompilingEvaluator which was renamed to $evaluatedExpressions.

642a11c

so the correct fix should be to adjust the naming here instead as bugfix for 8.3

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.

BUG: EntityPrivilegeExpressionEvaluator accesses undefined property

3 participants