? Success
Pull Request for # 5732

User tests: Successful: Unsuccessful:

avatar vzenix
vzenix
15 Jan 2015

#5732

Steps to reproduce the issue

Use the funcion JHelperTags::searchTags() in component whithout param.

Expected result

Function to search tags

Actual result

Notice: Undefined index: published in C:\wamp\www\joomla\libraries\cms\helper\tags.php on line 888

System information (as much as possible)

Joomla! 3.3.6 Stable [ Ember ] 01-October-2014 02:00 GMT

Additional comments

Fix: Change line 921:
if (is_numeric($filters['published']))
to
if ( isset($filters['published']) && is_numeric($filters['published']) )

avatar vzenix vzenix - open - 15 Jan 2015
avatar jissues-bot jissues-bot - change - 15 Jan 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 15 Jan 2015
Category Libraries Tags
avatar zero-24 zero-24 - change - 15 Jan 2015
The description was changed
Title
FIX: #5732
Notice: Undefined index: published in C:\wamp\www\joomla\libraries\cms\helper\tags.php on line 888
Rel_Number 5732
Relation Type Pull Request for
avatar zero-24
zero-24 - comment - 15 Jan 2015

@test successful! Thanks @vzenix one more tester.

easy test:

  • go to the template manger for protostar
  • add JHelperTags::searchTags(); to line 38
  • notice the error on the frontend
  • apply patch (using com_patchtester)
  • notice that the error is gone.
avatar zero-24 zero-24 - test_item - 15 Jan 2015 - Tested successfully
avatar zero-24 zero-24 - change - 15 Jan 2015
Easy No Yes
avatar waader
waader - comment - 15 Jan 2015

@test works!

avatar waader waader - test_item - 15 Jan 2015 - Tested successfully
avatar zero-24 zero-24 - change - 15 Jan 2015
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 15 Jan 2015

Thanks @vzenix for the fix and @waader for the test. Moving to RTC


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5733.
avatar brianteeman brianteeman - change - 15 Jan 2015
Labels Added: ?
avatar rdeutz rdeutz - close - 15 Jan 2015
avatar zero-24 zero-24 - close - 15 Jan 2015
avatar rdeutz rdeutz - change - 15 Jan 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-01-15 21:37:41
avatar zero-24 zero-24 - change - 14 Oct 2015
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment