subscription listing SEF issue

  • Posts: 77
  • Thank you received: 6
  • Hikaserial Subscription
1 week 4 days ago #343605

-- HikaShop version -- : 4.6.1
-- HikaSerial version -- : 4.0.1
-- Joomla version -- : 4.1.0
-- PHP version -- : 8.0
-- Error-message(debug-mod must be tuned on) -- : 404

Hi

When creating a menu link to Hikaserial subscription listing, I get a 404 in the frontend.
I created the link with the alias: sub-listing, but the SEF url leads to: sub-listing/subscription/listing
If I remove /subscription/listing then the view works.

Looks like an issue with the routing of the view.

The non SEF URL is: index.php?option=com_hikaserial&view=subscription&layout=listing

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

  • Posts: 25380
  • Thank you received: 3931
  • MODERATOR
1 week 3 days ago #343606

Hello,

You should have an "ItemId" in your URL, for the Joomla menu you're using.
Without that ItemId, the Joomla router will be lost and the HIkaSerial specific router won't be able to clean the URL with extra elements.

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: 77
  • Thank you received: 6
  • Hikaserial Subscription
1 week 3 days ago #343631

Maybe I didn't explain well enough. The non SEF URL was just the link you see in the backend. It was just for reference so you would know what view was causing the issue. There are no ItemId in the SEF URLs.

The point is, I have created a menu item link to Hikaserial subscription listing - but when I do, the URL gets redirected from /sub-listing to /sub-listing/subscription/listing and this creates a 404.

Attachments:

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

  • Posts: 25380
  • Thank you received: 3931
  • MODERATOR
1 week 2 days ago #343649

Hello,

Thank you for the screenshot, we will reproduce your setting in a test website.

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: 25380
  • Thank you received: 3931
  • MODERATOR
1 week 2 days ago #343652

Hello,

We reproduced the issue and worked on some improvements which will be added in the 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.

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