U4-6982 - TAG Group not working as it's expected, when there's more than 2 sets of tag group

Created by shinsuke nakayama 18 Aug 2015, 22:36:42 Updated by Shannon Deminick 20 Aug 2015, 14:52:23

Relates to: U4-6970

What did you do?

  • Goto Developer section of the back office, and create 2 Data Types of type "Tag"
  • For one of the Data Type, i set Tag group as "Films", and the other as "News".
  • Then add this two types to the document types.
  • Then goto content section and create 2 pages of same document type. *on the first page i added: (screen shot attached) *#Film Tag - Comedy *#News Tag- December
  • on the 2nd page (screen shot attached) *# News Tag - Comedy

What did you expect to happen? 3 records in cmsTags table

||id|| tag|| ParentId|| group|| |1|comedy| NULL| film| |2|december|NULL|news| |3|comedy| NULL| news|

  • 3 records in [cmsTagRelationship] table

||nodeId || tagId || propertyTypeId || |1050|1|35| |1050|2|36| |1051|3|36|

What actually happened?

  • 3 records in cmsTags table

||id || tag || ParentId || group || |1|comedy|NULL|film| |2|december|NULL|news| |3|comedy|NULL|news|

  • 4 records in [cmsTagRelationship] table

||nodeId || tagId || propertyTypeId || |1050 | 1 | 35 | |1050 | 2 | 36 | |1051| 1 | 36 | |1051 | 3 | 36 |

It seems when adding a relationship to the cmsTagRelationship table, Its only searching for tags by name, when it suppose to be tag name + Group name.

As result, 2nd page automatically got Tag id 1 assign to it.

EDIT: I initially raised this on Umbraco Forum but i wasn't getting any reply so thought i'll try posting here https://our.umbraco.org/forum/ourumb-dev-forum/bugs/57473-Tag-Group-doesnt-seems-to-be-working-on-Umbraco-718

3 Attachments

Comments

Sebastiaan Janssen 19 Aug 2015, 14:05:44

@Shandem If you can have a look at this before release that would be great. I'm not all that familiar with the tag stuff.


Sebastiaan Janssen 19 Aug 2015, 14:06:17

Might be a duplicate of U4-6970


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.2.8

Due in version: 7.3.0

Sprint:

Story Points:

Cycle: