? Pending

User tests: Successful: Unsuccessful:

avatar phproberto
phproberto
3 Aug 2017

Pull Request for Issue #17386

Summary of Changes

Nested mode for tags field is never detected as active because it's using:

 $this->element['mode'] === 'nested'

which returns false because $this->element['mode'] is a SimpleXMLElement object. It should be casted to string:

(string) $this->element['mode'] === 'nested'

Testing Instructions

Apply the patch and check that tags filter on articles view filters is shown as a category field (with dashes).

Expected result

nested-tags

Actual result

nested-tags-broken

avatar joomla-cms-bot joomla-cms-bot - change - 3 Aug 2017
Category Libraries
avatar phproberto phproberto - open - 3 Aug 2017
avatar phproberto phproberto - change - 3 Aug 2017
Status New Pending
avatar phproberto phproberto - change - 3 Aug 2017
The description was changed
avatar phproberto phproberto - edited - 3 Aug 2017
avatar phproberto phproberto - change - 3 Aug 2017
The description was changed
avatar phproberto phproberto - edited - 3 Aug 2017
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 3 Aug 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Aug 2017

I have tested this item successfully on 78473c5


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

avatar brianteeman brianteeman - test_item - 3 Aug 2017 - Tested successfully
avatar brianteeman
brianteeman - comment - 3 Aug 2017

I have tested this item successfully on 78473c5


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Aug 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Aug 2017

RTC after two successful tests.

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

Add a Comment

Login with GitHub to post a comment