? Failure

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
19 Oct 2016

The code that is being removed does nothing. Literally. It acts on an empty array... I was thinking about removing much of the code in parse(), too, but while Joomla itself does not create such URLs, you could hand in the searchword as a first segment and that worked in the past, so we will have to keep that in until at least 4.0...

avatar Hackwar Hackwar - open - 19 Oct 2016
avatar Hackwar Hackwar - change - 19 Oct 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Oct 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 19 Oct 2016
Category Front End Components
avatar brianteeman
brianteeman - comment - 20 Oct 2016

Looks like this was introduce by @wilsonge here #3399

avatar rdeutz rdeutz - change - 27 May 2017
The description was changed
avatar SamuelSchepp SamuelSchepp - test_item - 22 Aug 2017 - Tested successfully
avatar SamuelSchepp
SamuelSchepp - comment - 22 Aug 2017

I have tested this item successfully on 6531a19

Removed code does nothing, since $segments is always array().
Searching by SEF URL index.php/search/my%20word/ still works.
@icampus


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

avatar eXsiLe95 eXsiLe95 - test_item - 22 Aug 2017 - Tested successfully
avatar eXsiLe95
eXsiLe95 - comment - 22 Aug 2017

I have tested this item successfully on 6531a19

Tested

Search

  1. Go to /index.php/search
  2. Search for some content
  3. Go to /index.php/search/<some%20content> (which is a SEF URL)
  4. Activate bugfix
  5. Go to /index.php/search
  6. Search for some content
  7. Go to /index.php/search/<some%20content> (which is a SEF URL)

Behaviour

Removed code does not change anything

Comparing the results of the test (step 1-3 and 5-7), there is no difference. The usual search as well as SEF URLs still work. The removed code does not affect anything since $segments is always an empty array.

Tested @icampus


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

avatar joomla-cms-bot joomla-cms-bot - change - 22 Aug 2017
Category Front End Components Front End com_search Components
avatar franz-wohlkoenig franz-wohlkoenig - change - 22 Aug 2017
The description was changed
Status Pending Ready to Commit
avatar joomla-cms-bot joomla-cms-bot - edited - 22 Aug 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 Aug 2017

RTC after two successful tests.

avatar mbabker mbabker - change - 22 Aug 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-08-22 12:01:01
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 22 Aug 2017
avatar mbabker mbabker - merge - 22 Aug 2017

Add a Comment

Login with GitHub to post a comment