J3 Issue ?
avatar HerKle
HerKle
26 Sep 2018

Steps to reproduce the issue

  1. Create some articles in categories and set their status on "archived"
  2. Open search options for archived articles
  3. Start search
  4. click on a title of the results' list

Expected result

The archived article, uniquely identified by its article id, should show. ike in this example of published article in search result:
[http://heikkijokinen.info/ay-uutiset-maailmalta/1357-puuseppien-alkupalkkaan-saksassa-korotusta-15-5-prosenttia]

Actual result

A list appears with all the articles of the same month, but over all years, created by this broken (the year appears without its label before the question mark) link:
[http://heikkijokinen.info/ay-uutiset-maailmalta/arkisto/2015?view=archive&month=6]

System information (as much as possible)

Joomla 3.8.12
PHP 7.1

Additional comments

This bug has been reported several times during the last years and been closed as "solved". That seems not to be the case.

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
4.00

avatar HerKle HerKle - open - 26 Sep 2018
avatar joomla-cms-bot joomla-cms-bot - change - 26 Sep 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 26 Sep 2018
avatar brianteeman
brianteeman - comment - 26 Sep 2018

It will be really helpful if you can link to those closed issues where it is marked as solved

avatar HerKle
HerKle - comment - 26 Sep 2018
avatar brianteeman
brianteeman - comment - 26 Sep 2018

Thank you

avatar franz-wohlkoenig franz-wohlkoenig - change - 27 Sep 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 27 Sep 2018
Category com_content com_search
avatar brianteeman brianteeman - change - 27 Sep 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 27 Sep 2018
avatar beejay41
beejay41 - comment - 29 Nov 2018

I believe there are two issues here:

  1. com_search for archived articles, deliberately creates a link for archived articles in the same year and month as the selected article. In my opinion, it should create the same link as normal articles, ie. the article you just found. Who expects the link to give another list, which you then have to browse to find the article identified in the first place. Using the code for state=1 for both would remove 70+ duplicate lines of code in this plugin.

  2. com_content router still produces incorrect URLs and fails to resolve them. This is best demonstrated by the output of the Archived articles module. That creates links as /menu-entry/2018.html?view=archive&month=4 rather than /menu-entry/2018/4.html. The router then interprets the year as an Id, which might hit a valid article, in which case that is displayed, otherwise it is ignored and the results ignore the year, giving the selected month for all years, as reported.

Both issues have existed since 1.5 and remain in 3.9.1.


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

avatar SharkyKZ
SharkyKZ - comment - 23 May 2019

Test PR #24990 please.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 23 May 2019

Closed as having Pull Request #24990

avatar franz-wohlkoenig franz-wohlkoenig - close - 23 May 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 23 May 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-05-23 07:39:05
Closed_By franz-wohlkoenig

Add a Comment

Login with GitHub to post a comment