Submitted by WayneK on 2019/05/16 12:27
Problem: grid with tag source displays unwanted duplicate TLI's.
 
1) Create grid with tag source; context parents = 0
2) Grid displays all items assigned to tag
3) Organize items under new headers (TLI's).
4) Grid now shows a clean list of headers with tagged subitems
5) Refresh grid
6) All items that have parents elsewhere now reappear as TLI's (while still appearing as subitems, too)
7) Doesn't affect items that are TLI's in their source grids.  They remain under their headers and do not show duplicate TLI's
 
For comparison, I set up a regular test grid:
1) Assign a sample of the tagged items to the grid; context parents = 0
2) Organize items under new headers
3) Refresh grid
4) All items remain under their new parents and do not create duplicate TLI's.
 
It appears that a tag-source grid behaves differently than a regular grid.  I've worked thru display modes and every other
possible solution I can think of but haven't been able to get rid of the duplicate TLI's. 
 
Wayne
9.112p

Comments

Hi Wayne,
 
Can you provide a screen shot (with tags as a column) as it is working here just fine...
(perhaps it is liked to inheritance, you screen shot will help)
Pierre_Admin
IQ Designer
 

WayneK

2019/05/16 13:29

In reply to by Pierre_Admin

See attached
 
Wayne
 

Pierre_Admin

2019/05/16 14:21

In reply to by WayneK

Thanks for the screen shot Wayne,
 
I'm however still not able to reproduce it. It works fine here as seen on this one:
 
 
Pierre_Admin
IQ Designer
 

WayneK

2019/05/16 15:08

In reply to by WayneK

Do your items have parents in another grid?  That seems to be the issue.  If the item is a TLI in another grid, it displays correctly in the tag-source grid.  If it has a parent in the other, it does the double display in the tag-source grid..
 
 
Wayne
 

Pierre_Admin

2019/05/16 15:38

In reply to by WayneK

It cannot be due to another grid. Grids aren't related.
 
However I was able to reproduce it. It has to do with multiple parents, specifically, if the "main" parent doesn't have the tag, the item will display twice
 
And this has nothing to do with tags either. The same thing happens if the grid source is a field
 
If you show 1 level of context parent, you'll see what I mean.
 
The display could be improved of course, and I'll add it to the list of improvement
 
No CP:
 
With CP:
 
Pierre_Admin
IQ Designer
 

WayneK

2019/05/16 15:50

In reply to by WayneK

I'll follow up on what you posted but I just tried assigning the problem subitems to a test grid and the problem did not occur.
It's the same items with parents in another grid, and I assigned them to a new heading in the test grid.  They did not duplicate.
 
Edit: OK, I think I see.  So I was correct in saying that the problem only occurs with tag-source grids.  It does not occur if you perform the same operation in a regular field-source grid.
 
I'll have to think about  this.  On first thought, it seems to hurt the usefulness of tags because it prevents you from organizing the tagged items.  You can only gather them in an unorganized list.  I can think of a few ways to work around this but it'll take extra steps.
 
Thanks for looking into this.  It helps to just have a better understanding of what's going on.
 
Wayne
 

Pierre_Admin

2019/05/16 16:12

In reply to by WayneK

Not quite,
 
As I showed in my previous post, the issue happens whatever the source (field or tag).
 
It happens when
  1. The item has multiple parents, AND
  2. The main parent does not meet the source
 
 
Pierre_Admin
IQ Designer
 

WayneK

2019/05/16 16:44

In reply to by WayneK

OK, maybe I'm crazy (always a decent bet) but I've tested this several times and the problem does not happen in a regular grid.  I reproduced everything exactly the way I did for the tag-source  grid.
 
1) Items have a main parent
2) Items are assigned to a new test grid
3) Items' main parent is NOT assigned to the test grid
4) Items are organized under a new parent in the test grid.
5) Grid is refreshed
6) Items do not display duplicate TLIs
 
So, the items have multiple parents, and the main parent does not meet the source, yet the problem does not occur.
 
Your example appears to be using the tag-source case only (maybe I'm misunderstanding). 
 
What's the purpose of the check column?
 
Wayne
 

Pierre_Admin

2019/05/16 17:43

In reply to by WayneK

[quote=WayneK]
Your example appears to be using the tag-source case only (maybe I'm misunderstanding). 
What's the purpose of the check column?
[/quote]
In my last post, the grid source is a field (Check) and as you see, the issue IS present when the 2 conditions are met
 
In your original post, what happens when you show 1 level of context parent ? I think you'll find that the item that shows twice has a main parent that does not meet the source
 
HTH !
 
Pierre_Admin
IQ Designer
 

WayneK

2019/05/16 19:16

In reply to by WayneK

OK, I figured out why I wasn't getting your results: when I moved the items to subitem status in the test grid, it removed the field assignment.  That therefore removes the problem of duplicate TLI's.  If I go in and assign these subitems to the grid field, the problem appears.
 
But this is a possible viable solution in that there's no problem with having only your TLI's assigned to the grid and not the subitems.  Can't do that in the tag-source grid because then you lose your tag assignments.
 
Thanks.  I just want to understand how this works so I can figure out how to proceed.
 
Wayne