? Success
Related to # 4314

User tests: Successful: Unsuccessful:

avatar oneumyvakin
oneumyvakin
4 Oct 2014

Steps to reproduce the issue

  1. Enable SEF.
  2. Create "category1" with ID 1 and alias "alias1"
  3. For "category1" create child "category2" with ID 2 and alias "alias2"
  4. Create "tag1" and assign it to "category2"
  5. Try to search by "tag1"

Expected result

In search result there will be right URL to "category2" like:
/index.php/component/content/category/1-alias1/2-alias2
or
/index.php/component/content/category/2-alias2
or
/index.php/component/content/category/alias1/2-alias2
or
/index.php/component/content/category/2-alias1/2-alias2

Actual result

In search result category2 has a wrong URL which gives 404 error
/index.php/component/content/category/2-alias1/alias2

System information (as much as possible)

Joomla 3.3.3
PHP 5.4

Additional comments

only if SEF is On
only if search by tag

avatar oneumyvakin oneumyvakin - open - 4 Oct 2014
avatar jissues-bot jissues-bot - change - 4 Oct 2014
Labels Added: ?
avatar brianteeman brianteeman - change - 4 Oct 2014
The description was changed
Rel_Number 4314
Relation Type Related to
avatar brianteeman brianteeman - change - 6 Oct 2014
Category SEF
avatar infograf768
infograf768 - comment - 16 Oct 2014

Did not test, but Code style should be:

            if (!$advanced && count($array))
            {
                $array[0] = (int) $catid . ':' . $array[0];

                if (count($array) > 1)
                {
                    $array[count($array) - 1] = (int) $catid . ':' . $array[count($array) - 1];
                }
            }
avatar brianteeman brianteeman - change - 17 Oct 2014
The description was changed
avatar nicksavov nicksavov - change - 17 Oct 2014
Labels Added: ?
avatar tairedweb tairedweb - test_item - 17 Oct 2014 - Tested unsuccessfully
avatar tairedweb
tairedweb - comment - 17 Oct 2014

@test it still said /index.php/alias1?view=form when i turnon SEF :D

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

avatar oneumyvakin
oneumyvakin - comment - 17 Oct 2014

@tairedweb I can't get you.

/index.php/alias1?view=form - always gives 403

could you please create separate bug report with exact steps to reproduce?

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

avatar luredweb
luredweb - comment - 17 Oct 2014

@test It's working for me
@tairedweb I don't see any link as you talked

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

avatar luredweb luredweb - test_item - 17 Oct 2014 - Tested successfully
avatar tairedweb tairedweb - test_item - 17 Oct 2014 - Tested successfully
avatar tairedweb
tairedweb - comment - 17 Oct 2014

@oneumyvakin worked :D

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

avatar dimitargsg
dimitargsg - comment - 17 Oct 2014

@test I also tested this and it seems that the patch is working properly. I was redirected to the correct category when I searched for tag1.

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

avatar dimitargsg dimitargsg - test_item - 17 Oct 2014 - Tested successfully
avatar AnishaVora
AnishaVora - comment - 17 Oct 2014

@test,
category link is redirected successfully, but when i click on the 'tag1'(index.php/component/tags/tag/2) which displays 'category2' link, when i click on the link(index.php/13-alias1/13-alias2), it give me "404 Article not found" error.

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

avatar AnishaVora AnishaVora - test_item - 17 Oct 2014 - Tested unsuccessfully
avatar haydenyoung
haydenyoung - comment - 17 Oct 2014

I'm unable to replicate this problem. I created a search menu item to check this other than that I followed the steps to reproduce.

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

avatar oneumyvakin
oneumyvakin - comment - 18 Oct 2014

@AnishaVora Yes, I can reproduce this. Start working to fix this.

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

avatar oneumyvakin oneumyvakin - test_item - 18 Oct 2014 - Tested unsuccessfully
avatar oneumyvakin oneumyvakin - test_item - 18 Oct 2014 - Not tested
avatar oneumyvakin
oneumyvakin - comment - 18 Oct 2014

Fix is ready.

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

avatar roland-d
roland-d - comment - 27 Nov 2014

@Hackwar Is this not something you are also working on?

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

avatar brianteeman brianteeman - change - 1 Jan 2015
Labels Removed: ?
avatar zero-24 zero-24 - alter_testresult - 11 Jun 2015 - dimitargsg: Not tested
avatar zero-24 zero-24 - alter_testresult - 11 Jun 2015 - luredweb: Not tested
avatar zero-24 zero-24 - alter_testresult - 11 Jun 2015 - tairedweb: Not tested
avatar zero-24 zero-24 - alter_testresult - 11 Jun 2015 - AnishaVora: Not tested
avatar zero-24 zero-24 - change - 11 Jun 2015
The description was changed
Easy No Yes
avatar MPompejus
MPompejus - comment - 21 Aug 2015

Added Patch and tried it the Problem still exist.
The ID for categorie 2 will set in the URL one step forward as id for categorie 1
http://127.0.0.1/bugtesting/index.php/component/content/category/79-alias1/alias2
number 79 is mine ID of categorie 2.


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

avatar MPompejus MPompejus - test_item - 21 Aug 2015 - Tested unsuccessfully
avatar kathastaden kathastaden - test_item - 21 Aug 2015 - Tested unsuccessfully
avatar kathastaden
kathastaden - comment - 21 Aug 2015

I tested it with Joomla version: 3.4.4-dev development

  • SEF is enabled
  • Patch was installed successful

1) Created category1 (ID is set by system - mine is 78) with alias1
2) Created category2 (ID is set by system - mine is 79) with alias2 and category1 as the parent
3) Created a tag named tag1
4) Assigned tag1 to category2
5) Searched for tag1 and got this link as a result to category2:
http://localhost/wpw2/bugtesting/index.php/component/content/category/79-alias1/alias2

6) Still Error 404 - So the test was not successful

avatar brianteeman brianteeman - change - 5 May 2016
Category Router / SEF Router / SEF Tags
avatar roland-d
roland-d - comment - 8 May 2016

@oneumyvakin Can you follow up on the test results and make the needed changes to your pull request? Thank you.


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

avatar roland-d roland-d - change - 8 May 2016
Status Pending Information Required
avatar oneumyvakin
oneumyvakin - comment - 8 May 2016

@roland-d to be clear, i've submitted this bug and patch two years ago for version 3.3.3, and it works for this version, and it was abandoned for the one year, and after the one year, on version 3.4.4, suddenly, fix became not working. This situation is not ok for me. So I've decide to do not contributing to Joomla any more.

avatar roland-d
roland-d - comment - 8 May 2016

@oneumyvakin Thank you for your response. The behavior you described happens when the same files you changed are changed by someone else. I will close this PR now as we have a new router merged for Joomla 3.6.

avatar roland-d roland-d - change - 8 May 2016
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2016-05-08 16:36:33
Closed_By roland-d
avatar roland-d roland-d - close - 8 May 2016

Add a Comment

Login with GitHub to post a comment