User tests: Successful: Unsuccessful:
Pull Request for Issue #12038 .
#10304 introduced a B/C issue with extensions that use core tag system without using core categories system. Making an inner join like:
->join('INNER', '#__categories AS tc ON tc.id = c.core_catid AND tc.published = 1')
That causes that 3rd part extensions are broken and tags used on them aren't shown in core tag views because c.core_catid
is always 0
.
Patch changes the query to use something like:
LEFT JOIN boy8n_categories AS tc ON tc.id = c.core_catid
WHERE (c.core_catid = 0 OR tc.published = 1)
So that it only returns tags assigned to content not using the category system or using it and having the category published.
Tags
> Compact list of tagged items
and in the Tag
menu setting select the tag created in step 2.Additional tests if you have a custom extension experiencing the issue ( see #12038 ) also test this:
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
I have tested this item
without 3dp extensions
I have tested this item successfully on joomla 3.6.5 against our 3rd party extension. If we remove our hack to set core_catid to 1 in #__ucm_content and let is default to 0 upon save with this patch by @phproberto all items show in the tags list view.
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-01-27 18:27:12 |
Closed_By | ⇒ | rdeutz | |
Labels |
Added:
?
?
|
I have tested this item✅ successfully on d9cb627
Menu Itam Type
Taga
>Compact list of tagged items
: With or without PR tagged Content isn't shown if Category is unpublished.This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13737.