[MNT-19544] Tags on nodes with multiple parents does not appear in Site Filter. Created: 03-May-18  Updated: 01-Jul-20  Resolved: 01-Jul-20

Status: Closed
Project: Service Packs and Hot Fixes
Component/s: Tags and Categories
Affects Version/s: 5.1.4, 5.2.3
Fix Version/s: None

Type: Improvement
Reporter: Marc Bynum Assignee: Closed Issues
Resolution: Won't Fix Votes: 0
Labels: triaged
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Bug Priority:
Category 3
ACT Numbers:



When assigning a tagged node to a site, the secondary parent isn't displayed (in the site filter)

[Reproduction Steps]

1. Create a document under the repository (/Company Home/)
2. Add a tag to this document. (notice that the left bar has the "Tags filter" updated with the new tag)
3. Create a site.
4. Add this document to the site as a secondary parent with: 
var document = search.findNode(<noderef from node created in step 1>);

5. Go to your sites document library

[Expected Behavior]
The tag filter in the sites document library should also have the tag in the tags filter.

[Observed Behavior]
The tag filter in the sites document library is empty.

[Further Support]
The tag (collection) is set as a property on the node, the node now has two parents. Looking at the API, for the call findTagScope uses only the primary parent path: 

"The 'nearest' tag scope is discovered by walking up the primary parent path until a tag scope is found or the root node is reached." 

Generated at Fri Dec 04 05:46:43 GMT 2020 using Jira 7.13.15#713015-sha1:7c5ddd2c3e1709974ae9c48c17df8edd3919fe2c.