Timeline for Overriding Custom module's controller in Magento2 giving error
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 24, 2018 at 13:55 | comment | added | Dhiren Vasoya | I already give you answer that, For the magento2 overiding concept, you need to pass all required pararameter to parent controller. | |
Jan 24, 2018 at 13:51 | comment | added | Dhiren Vasoya | Let us continue this discussion in chat. | |
Jan 24, 2018 at 13:51 | comment | added | Gagan | I have accepted, but it will be better if you can more info on why is the module not overriding the controller? | |
Jan 24, 2018 at 13:50 | vote | accept | Gagan | ||
Jan 24, 2018 at 13:49 | comment | added | Dhiren Vasoya | If my answer help you, please accept it. So it will help other in community. | |
Jan 24, 2018 at 13:48 | comment | added | Gagan | Actually it did not override the controller, but resolved the s:d:c issue. | |
Jan 24, 2018 at 13:48 | comment | added | Dhiren Vasoya | For the magento2 overiding concept, you need to pass all required pararameter to parent controller. | |
Jan 24, 2018 at 13:47 | comment | added | Dhiren Vasoya | If my answer help you, please accept it. So it will help other in community. | |
Jan 24, 2018 at 13:45 | comment | added | Gagan | The code seems to work, but I am just checking that it overrides too. Also I request you to please explain a bit why the same function did not gave any error when it is being used in module's controller, but gave error in my module. I have understood the issue in my code though, but just curious to know in more depth. Thanks in advance | |
Jan 24, 2018 at 13:39 | history | answered | Dhiren Vasoya | CC BY-SA 3.0 |