the Router class of component

  • Posts: 48
  • Thank you received: 0
2 years 1 month ago #346037

-- HikaShop version -- : 4.6.2
-- HikaMarket version -- : 4.1.0
-- Joomla version -- : 4.2.4
-- PHP version -- : 8.0
-- Browser(s) name and version -- : Microsoft Edge Version 106.0.1370.52 (Official build) (64-bit)
-- Error-message(debug-mod must be tuned on) -- : Wrong URL. from the Router class of component

Hello, I am seein some URL issues here I am hoping you can help me with. To reproduce, inside of the vendor control panel, the menu on the left, Vendor Account all the way down to Discounts, well when user clicks on Characteristics and then has the option of Back, New or edit the ones in there already, the URL takes the user to the home page with the feature below the banner on my site. I made a video showing this.

www.screencast.com/t/bSRfoaor

Attachments:
Last edit: 2 years 1 month ago by ChristianLocal. Reason: better explain problem

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
2 years 1 month ago #346072

Hello,

Some views had some missing "itemId" which was messing with links.
With Joomla 4, the new routing system is less "friendly" and might not add the same menu in links (for the same component).
We worked on various improvements in order to fix and improve these forgotten links.
It will be include in the next coming release.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 48
  • Thank you received: 0
2 years 1 month ago #346077

what do i do in the meantime Jerome? is there a quick code fix? when is the upcoming release due? I have a few weeks before...

Last edit: 2 years 1 month ago by ChristianLocal.

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
2 years 1 month ago #346110

Hello,

You can edit the file "components/com_hikamarket/views/characteristicmarket/view.html.php" and replace the line

    'name' => JText::_('HIKA_BACK'), 'url' => hikamarket::completeLink('vendor')),
By
    'name' => JText::_('HIKA_BACK'), 'url' => hikamarket::completeLink('vendor'.$url_itemid)),
And it will fix your issue for the back button on the characteristing listing.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 48
  • Thank you received: 0
2 years 1 month ago #346113

Hi Jerome, that worked thx. Now the "NEW" button on the other side of the top has the same issue along with the name of the Characteristic in that view. The Discounts Menu Item below the Characteristics menu Item has the same issue for both the BACK BUTTON and the NEW BUTTON. Can you provide a quick fix for those as well? PLEASE??

Last edit: 2 years 1 month ago by ChristianLocal.

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
2 years 1 month ago #346116

Hello,

I gave you one modification in one core file but, as you saw, the same issue is in some other files (but it's the same kind of patch).
We're working on a new release which will include a lot of small modifications for your issue and another for a bug reported this week.
Since it will be complicated to list you all the files and the lines you need to patch, the best would be to easier to receive them all via the update.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 48
  • Thank you received: 0
2 years 1 month ago #346124

Very well. Can you share with me the timeline for the release? Thank you.

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
2 years 1 month ago #346140

Hello,

The version 4.1.1 is available for download.
The changelog will be updated soon ; we still need to finalize various tests before an official release.

We prefer not providing any schedule or dates and release the product when it's ready (developed, tested, etc).
I made an early release, which is not something that I'm found of.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Moderators: Obsidev
Time to create page: 0.071 seconds
Powered by Kunena Forum