?
avatar tompecina
tompecina
8 May 2018

Steps to reproduce the issue

  1. Set up a Joomla site with more than one page of results in a category.

  2. Set both Search Engine Friendly URLs and Use URL Rewriting to Yes.

  3. Display the respective category and check the pagination links.

Expected result

The links are correct.

Actual result

The links are broken, missing the "view=category" parameter.

System information (as much as possible)

Joomla 3.8.7.

Additional comments

I've drawn up a dirty hack, definitely not the right way to fix the issue; see the attached patch: category_bug.patch.txt.

avatar tompecina tompecina - open - 8 May 2018
avatar joomla-cms-bot joomla-cms-bot - labeled - 8 May 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 9 May 2018
Priority Urgent Medium
avatar franz-wohlkoenig franz-wohlkoenig - change - 9 May 2018
Category Front End com_content Front End Router / SEF
avatar infograf768
infograf768 - comment - 9 May 2018

Please post a screenshot of the page and the precise urls you obtain for the pagination links (SEF off and SEF on)

avatar franz-wohlkoenig franz-wohlkoenig - change - 9 May 2018
Status New Information Required
avatar tompecina
tompecina - comment - 9 May 2018

Attached are the two screenshots of the relevant settings. The URL for Page 2 generated by the Joomla engine is [https://paragraphos-test.pecina.cz/?id=8&start=6], while it should be [https://paragraphos-test.pecina.cz/?view=category&id=8&start=6]. Please let me know if you need any more information.

screen shot 2018-05-09 at 15 46 01
screen shot 2018-05-09 at 15 46 04


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20319.

avatar franz-wohlkoenig franz-wohlkoenig - change - 9 May 2018
Status Information Required Discussion
avatar infograf768
infograf768 - comment - 11 May 2018
  1. A category list menu item does display the correct pagination in a clean Joomla site.
  2. Your site is weirdly done.
    Links as https://paragraphos-test.pecina.cz/?view=category&id=8 do exist in the module displayed in the left column under the header Kategorie => Humor.
    When displayed and using pagination https://paragraphos-test.pecina.cz/?view=category&id=8&start=6 works fine
    These are not links to category list but blog.

Also these links are really ugly and do not look at all as clean joomla links, SEF on or not.
Here when using the Articles Categories module as you did, I get for SEF off for example:
root/index.php?option=com_content&view=category&id=67&Itemid=571
and when sef on
root/user-modules.html

avatar joomla-cms-bot joomla-cms-bot - change - 11 May 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-05-11 05:32:03
Closed_By joomla-cms-bot
avatar franz-wohlkoenig franz-wohlkoenig - change - 11 May 2018
Closed_By joomla-cms-bot franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - close - 11 May 2018
avatar joomla-cms-bot
joomla-cms-bot - comment - 11 May 2018
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 May 2018

Closed as stated above seems no Core-Issue.

@tompecina Please ask help on the forums. This repository concerns in first Place Joomla-Core coding.

avatar tompecina
tompecina - comment - 11 May 2018

It seems you tested on my test site (paragraphos-test.pecina.cz) when it was already patched and thus obviously you could not reproduce the bug. If you're interested in retesting, the test site (paragraphos-test.pecina.cz) is now left unpatched and the live site (paragraphos.pecina.cz) is patched so you can see the difference.

Otherwise, I've fixed it using my patch and I'm closing the issue for myself too. Thanks for your time!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20319.

avatar franz-wohlkoenig franz-wohlkoenig - change - 11 May 2018
Status Closed Discussion
Closed_Date 2018-05-11 05:32:03
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 11 May 2018
Status Discussion New
Closed_Date 0000-00-00 00:00:00
avatar joomla-cms-bot joomla-cms-bot - reopen - 11 May 2018
avatar joomla-cms-bot
joomla-cms-bot - comment - 11 May 2018
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 May 2018

Reopened to find out if its a Core-Issue. @tompecina Thanks for Update.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20319.

avatar infograf768
infograf768 - comment - 11 May 2018

BTW, if your home page is a category list (or blog), a url like
mydomain.com/?start=5 is perfectly OK

avatar tompecina
tompecina - comment - 11 May 2018

Right, but not for any other category, which is the case here.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20319.

avatar infograf768
infograf768 - comment - 11 May 2018

As I said above your links in the categories module are weird and are not the default ones we obtain with a clean Joomla.

You get
?view=category&id=8&layout=
I get here

index.php?option=com_content&view=category& etc.

You have modified something somewhere (extension, else) which creates this apparent issue.

avatar franz-wohlkoenig franz-wohlkoenig - change - 11 May 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 11 May 2018
Status Discussion Information Required
avatar tompecina
tompecina - comment - 11 May 2018

You have modified something somewhere (extension, else) which creates this apparent issue.

I did not modify the code in any manner (this patch is the first I applied), all I did is I toggled the URL-related controls several times before I got the URLs I liked. Which, unfortunately, I cannot reproduce because I don't remember the order of the changes.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20319.

avatar infograf768
infograf768 - comment - 11 May 2018

You may not have modified joomla core code, but you may use 3rd party extensions which impact the normal Joomla Routing system.
For example, you use JComments (I do not know if that one is at stake).

avatar tompecina
tompecina - comment - 11 May 2018

You may not have modified joomla core code, but you may use 3rd party extensions which impact the normal Joomla Routing system.
For example, you use JComments (I do not know if that one is at stake).

I removed all the third-party extensions from the test site now, but the result is the same: the category list (eg: Humor still produces broken pagination links.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20319.

avatar infograf768
infograf768 - comment - 11 May 2018

Give me access to your test site by sending superuser credentials at infografjms arobase gmail.com and I will have a look. I am still convinced that something is modified in your test site.

avatar tompecina
tompecina - comment - 11 May 2018

I sent it to arobase at gmail.com: I hope I got the address right!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20319.

avatar infograf768
infograf768 - comment - 11 May 2018

https://fr.wikipedia.org/wiki/Arobase 😄

Sorry, was in French...

avatar infograf768
infograf768 - comment - 11 May 2018

You are using Modern Routing.
In this case, one should always add at least a hidden menu item to All Categories.
I did this on the test site and now you will get urls of this type from the categories module
https://paragraphos-test.pecina.cz/all-categories/nase-pripady/adam-b-bartos?layout=

and pagination https://paragraphos-test.pecina.cz/all-categories/nase-pripady/adam-b-bartos?start=10

The &layout= issue has been solved in current code ( #20229 ) and will be in next J release.

Please delete the special account you created for me.

avatar infograf768
infograf768 - comment - 11 May 2018

screen shot 2018-05-11 at 11 28 04

avatar tompecina
tompecina - comment - 11 May 2018

Tested & implemented on the live site - thanks!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20319.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 May 2018

@tompecina if this Issue is resolved please close it.

avatar tompecina tompecina - change - 11 May 2018
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2018-05-11 11:06:54
Closed_By tompecina
avatar tompecina tompecina - close - 11 May 2018
avatar infograf768
infograf768 - comment - 11 May 2018

Long time I wanted to test Olomoucké tvarůžky
do not hesitate. :)

avatar tompecina
tompecina - comment - 11 May 2018

I've never tasted these (and no, I don't drink beer, for that matter) :-)


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20319.

avatar infograf768
infograf768 - comment - 11 May 2018

hehe

Add a Comment

Login with GitHub to post a comment