Skip to main content

hikashopController is not extending hikashopBridgeController anymore

More
3 weeks 2 days ago #373236 by Denitz
-- HikaShop version -- : 6.6.0
-- Joomla version -- : 6.1.3
-- PHP version -- : 8.4

It looks like since about v6.5.2 the hikashopController is not extending the hikashopBridgeController class.

We use custom hikashopBridgeController class to apply own code, but it doesn't work after update from 6.5.0.

See /administrator/components/com_hikashop/helpers/helper.php:
Code:
class hikashopController extends \Joomla\CMS\MVC\Controller\BaseController {

In v6.5.0 it was:
Code:
class hikashopController extends hikashopBridgeController {

Can we expect the return to original behavior in the next version?

Please Log in or Create an account to join the conversation.

More
3 weeks 2 days ago #373237 by Denitz
Note that this block should be before hikashopController class declaration:
Code:
if(!class_exists('hikashopBridgeController')) { ...

And hikashopControllerViewTrait is actually useless, you can move getNewView() method into hikashopBridgeController class as it was before.

Please Log in or Create an account to join the conversation.

More
3 weeks 2 days ago #373245 by nicolas
Hi,

Thank you for your feedback. As this is an internal class, we didn't think anyone would be using it and as we were only using it for compatibility between different versions of Joomla and we drop the support for older versions we had no use for it anymore.

I've made the necessary changes on our end. It doesn't cost us anything anyways. You can download again the install package of the 6.6.0 on our website in order to get the modified version.

Please Log in or Create an account to join the conversation.

More
3 weeks 1 day ago #373261 by Denitz
Many thanks, this proxy class is really useful to provide advanced customization.

Please Log in or Create an account to join the conversation.

Time to create page: 0.221 seconds
Powered by Kunena Forum