Timeline for Magento2 can't inject dependency in Class which extends from \Magento\Catalog\Block\Product\ListProduct
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 20, 2017 at 19:50 | vote | accept | Holly | ||
Apr 20, 2017 at 5:46 | comment | added | Khoa TruongDinh | Yes, it's possible. However, I think Magento will have a release note and a guide for migration module. | |
Apr 20, 2017 at 5:42 | comment | added | Holly | if in a Magento update a new dependency is added to the parent class, could that break my module? | |
Apr 20, 2017 at 5:40 | comment | added | Minesh Patel | @KhoaTruongDinh yes you are correct | |
Apr 20, 2017 at 5:35 | comment | added | Khoa TruongDinh | In your updated info, it's ok! Magento used this approach. | |
Apr 20, 2017 at 5:08 | history | edited | Holly | CC BY-SA 3.0 |
added 918 characters in body
|
Apr 20, 2017 at 0:07 | answer | added | Khoa TruongDinh | timeline score: 1 | |
Apr 19, 2017 at 23:07 | comment | added | Holly | thanks but i tried that already | |
Apr 19, 2017 at 23:01 | comment | added | Zefiryn | Try to clear your cache and remove var/generation. | |
Apr 19, 2017 at 22:42 | history | asked | Holly | CC BY-SA 3.0 |