New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typo 'com_users.user.' in "components\com_users\views\profile\view.html.php" #11666
Comments
@YHartonuk |
@brianteeman i think this can be closed as we have a PR for testing |
Set to "closed" on behalf of @zero-24 by The JTracker Application at issues.joomla.org/joomla-cms/11666 |
@zero-24 |
Set to "open" on behalf of @zero-24 by The JTracker Application at issues.joomla.org/joomla-cms/11666 |
Done This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11666. |
@bertmert both cases seems a bug to me see https://github.com/joomla/joomla-cms/blob/staging/libraries/cms/helper/tags.php#L386 |
Yes I know but as I said I think these lines are completely unnecessary. When I fix the typo in com_content we get an unnecessarily populated array instead of an empty one. So, fixing the typo just to fix it and get an unnecessary overhead is not a good solution. |
com_users: I would prefer to remove the whole incomplete tags (un)logic from this component instead of fixing a single typo. Means: Should be discussed (or somebody should take over). |
Please don't remove this lines from com_users because I use tags for users profile. Please just fix typo. |
@YHartonuk (I don't see a way to use tags in com_users without core hacks. Maybe I'm wrong.) |
I use my custom plugin for user profile and custom com_users view for my theme so I don't use any hack for joomla core |
@YHartonuk can you make a PR so this Issue get resolved? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/11666. |
easy pr made |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/11666 |
closed as PR made, thanks @alikon This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/11666. |
Steps to reproduce the issue
Typo in "components\com_users\views\profile\view.html.php" that cause not working tags for com_users profile view. In the line 79 writen "$this->data->tags->getItemTags('com_users.user.', $this->data->id);" but must be "$this->data->tags->getItemTags('com_users.user', $this->data->id);" Also in default_custom.php tmpl there is no code for tags so tags fields will not work in user profile view.
Expected result
$this->data->tags->getItemTags('com_users.user', $this->data->id);
Actual result
$this->data->tags->getItemTags('com_users.user.', $this->data->id);
System information (as much as possible)
Joomla! 3.6.2
Additional comments
The text was updated successfully, but these errors were encountered: