magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

Undeclared dynamic property gets leaked in public space

Open adragus-inviqa opened this issue 11 years ago • 4 comments

I'm talking about this: https://github.com/magento/magento2/blob/e5dedb8b75cfe46eb9e68b5d55c983e8b5ce3c55/app/code/Magento/LayeredNavigation/Block/Navigation.php#L62

There is no \Magento\LayeredNavigation\Block\Navigation::$renderer member, so it becomes public.

adragus-inviqa avatar Oct 13 '15 15:10 adragus-inviqa

@antonkril can you look into this and decide on priority?

piotrekkaminski avatar Oct 14 '15 04:10 piotrekkaminski

It's low priority, but we should create static test to catch such cases. They allow unreliable implementations of extensions and make instantiation of such classes bit slower.

antonkril avatar Oct 14 '15 07:10 antonkril

I have created an internal ticket (MAGETWO-48089) to track the progress of the issue

voleye avatar Jan 19 '16 16:01 voleye

Hello @adragus-inviqa, this issue has been fixed in the 2.1.0 Release, that's why I'm closing it. If you any questions or additional information regarding the issue feel free to reopen it or create a new one.

KrystynaKabannyk avatar Jun 23 '16 16:06 KrystynaKabannyk