? Success

User tests: Successful: Unsuccessful:

avatar bertmert
bertmert
20 Aug 2016

Pull Request for part 1 of Issue #11666

Summary of Changes (New)

(See comments #11681 (comment) and #11681 (comment))

After some investigations I removed these lines completely:

  • The line never worked correctly. No issues were reported for years. It always returns an empty array.
  • Tags are not fully implemented for com_users component yet. Just rudimentary. (And by the way my opinion is that it never should get implemented when I have a look on field #__content_types : field_mappings.). Thus this line never returns any meaningful datas.

Summary of Changes (Old/Outdated)

Correct typo in getItemTags() call. The first parameter is type_alias of DB table #__content_types.

20-08-_2016_05-00-12

Testing Instructions

Code review.
Tags are not implemented in user views at the moment (which is part 2 of issue #11666) .
Check if anything weird happens in user profile view in front-end after patch.

B\C ?

I don't see any issues for a line that is seneseless.

avatar joomla-cms-bot joomla-cms-bot - change - 20 Aug 2016
Category Front End Components
avatar bertmert bertmert - open - 20 Aug 2016
avatar bertmert bertmert - change - 20 Aug 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Aug 2016
Labels Added: ?
avatar bertmert bertmert - edited - 20 Aug 2016
avatar andrepereiradasilva
andrepereiradasilva - comment - 21 Aug 2016
avatar bertmert
bertmert - comment - 22 Aug 2016

@andrepereiradasilva Thank you.
Hm, strange. There it's wrong (returns an empty array), too, but the article edit form works fine without this line concerning tags.
I have to make some investigations where when why we need getItemTags() at all in edit views.

avatar bertmert bertmert - edited - 22 Aug 2016
avatar bertmert bertmert - edited - 22 Aug 2016
avatar bertmert bertmert - change - 22 Aug 2016
The description was changed
avatar bertmert bertmert - edited - 22 Aug 2016
avatar bertmert bertmert - change - 22 Aug 2016
The description was changed
avatar bertmert bertmert - edited - 22 Aug 2016
avatar bertmert bertmert - change - 22 Aug 2016
The description was changed
avatar bertmert bertmert - edited - 22 Aug 2016
avatar bertmert bertmert - change - 22 Aug 2016
The description was changed
avatar bertmert bertmert - edited - 22 Aug 2016
avatar bertmert
bertmert - comment - 22 Aug 2016

Sorry! After some hours of investigations I'm closing this PR because the more I try to understand the logic of com_tags the less I understand...

avatar bertmert bertmert - change - 22 Aug 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-08-22 04:55:24
Closed_By bertmert
avatar bertmert bertmert - close - 22 Aug 2016

Add a Comment

Login with GitHub to post a comment