? Success

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
28 Nov 2016

Summary of Changes

Passing $item->title through htmlspecialchars()

Testing Instructions

Create a multilingual site (2 languages are enough).
Associate 2 articles.
Associate 2 categories.
Associate 2 menu items.
Associate 2 contacts.
Associate 2 newsfeeds.

For each of these add double quotes in the title of one of the items.
Example: mymenu "Useful", etc.

Display the managers for each kind of item
You will get stuff like this in the associations column (here the title is Poètes "français")

screen shot 2016-11-28 at 10 38 11
or for contact "en"

screen shot 2016-11-28 at 10 33 53

Patch, now you will correctly get:
screen shot 2016-11-28 at 10 56 06

and

screen shot 2016-11-28 at 10 35 50

same for the other components.

avatar infograf768 infograf768 - open - 28 Nov 2016
avatar infograf768 infograf768 - change - 28 Nov 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 Nov 2016
Category Administration com_categories com_contact com_content com_menus com_newsfeeds
avatar infograf768 infograf768 - change - 28 Nov 2016
The description was changed
avatar infograf768 infograf768 - edited - 28 Nov 2016
avatar andrepereiradasilva
andrepereiradasilva - comment - 28 Nov 2016

I have tested this item successfully on 671d36d

works as described. and solves the issue.
but i really think we should considere another PR shoulçd be done to transform this buttons in a unified layout.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13043.
avatar andrepereiradasilva andrepereiradasilva - test_item - 28 Nov 2016 - Tested successfully
avatar marcochirienti
marcochirienti - comment - 28 Nov 2016

I don't want to bother you, i just can't figure it out...
Why mixing JViewLegacy->escape() and htmlspecialchars()?
I've seen both being used throughout the CMS.
Is there a preference of one over the other inside html views?

avatar marcochirienti
marcochirienti - comment - 28 Nov 2016

Maybe this is not the right place for such a question. I know that it is not stricly related with the pull request. Anyway, where i should submit this kind of questions?

avatar Bakual
Bakual - comment - 28 Nov 2016

@marcochirienti https://groups.google.com/forum/#!forum/joomla-dev-general would be a proper place.
Since this here is about helpers and not views, JViewLegay->escape doesn't make sense anyway.

avatar dgt41
dgt41 - comment - 28 Nov 2016

I have tested this item successfully on 671d36d


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

avatar dgt41 dgt41 - test_item - 28 Nov 2016 - Tested successfully
avatar dgt41 dgt41 - change - 28 Nov 2016
Status Pending Ready to Commit
avatar dgt41
dgt41 - comment - 28 Nov 2016

RTC

avatar zero-24 zero-24 - change - 28 Nov 2016
Milestone Added:
avatar marcochirienti
marcochirienti - comment - 28 Nov 2016

Ok, thank you @Bakual.

avatar wilsonge wilsonge - change - 29 Nov 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-11-29 08:20:09
Closed_By wilsonge
avatar wilsonge wilsonge - close - 29 Nov 2016
avatar wilsonge wilsonge - merge - 29 Nov 2016
avatar wilsonge wilsonge - reference | f44f859 - 29 Nov 16
avatar wilsonge wilsonge - merge - 29 Nov 2016
avatar wilsonge wilsonge - close - 29 Nov 2016

Add a Comment

Login with GitHub to post a comment