hikashopController is not extending hikashopBridgeController anymore

  • Posts: 28
  • Thank you received: 2
4 hours 33 minutes ago #373236

-- 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:

class hikashopController extends \Joomla\CMS\MVC\Controller\BaseController {

In v6.5.0 it was:
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.

  • Posts: 28
  • Thank you received: 2
4 hours 4 minutes ago #373237

Note that this block should be before hikashopController class declaration:

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.

  • Posts: 86089
  • Thank you received: 14195
  • MODERATOR
32 minutes ago #373245

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.

Time to create page: 0.057 seconds
Powered by Kunena Forum