You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given some class SomeDto with a private constructor:
After a full cache flush, a proxy class is generated even though the class is not actually target of AOP.
When changing the code to trigger a partial cache refresh (in Dev Context) the proxy class is being removed
Expected Behavior
The proxy class should either always or never be created – in this case never :)
Also, the created proxy code is broken cause it contains:
We actually never check here \Neos\Flow\Aop\Pointcut\PointcutMethodNameFilter::matches if the method actually exists and if it's static. All the calls to the ReflectionService could go by without a problem despite the method not existing. (getMethodParameters returns empty array in that case)
Is there an existing issue for this?
Current Behavior
Given some class
SomeDto
with a private constructor:After a full cache flush, a proxy class is generated even though the class is not actually target of AOP.
When changing the code to trigger a partial cache refresh (in Dev Context) the proxy class is being removed
Expected Behavior
The proxy class should either always or never be created – in this case never :)
Also, the created proxy code is broken cause it contains:
(related issue: #3059)
Steps To Reproduce
Create a class
and a
Policy.yaml
with:the same is true for
Environment
- Flow: 9.0
Anything else?
No response
The text was updated successfully, but these errors were encountered: