﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	db_engine	os_version
162	BZ147 Client List Tree allows creation of exactly the same tab and lists for a user v1.0.3399.3506 to DEV2	Mark J. Millard	dbmuqs	"We were having problems with the generation of huge number of list items which 
appeared to be duplicates.  I opened two clients each one on a different 
machine.  I was able to create the exact same list tab name and populate it 
with exactly the same items.  I then closed the clients and opened on one 
machine and hid the tab name that I had duplicated before.  I was able to add a 
new tab with the same name and populate it with copy and paste in the exact 
same way as I had duplicated the two on separate machines.

While this behavior allows things to go on with an error.  It may cause 
problems in the future with deletes, result set views, and so on.  The database 
should probably respect some kind of uniqueness constraint.  I used these two 
scripts on the DEV2 mysql database to confirm duplicates:

SELECT * FROM app_user_item_list a where cooperator_id = 54796;

SELECT count(distinct concat(tab_name,list_name,id_number)) FROM 
app_user_item_list a where cooperator_id = 54796;

The first gives the total number of records and could be count(*).  I get 4472 
using this query.  The cooperator_id number is mine.  The second gives the 
unique rows basded on tab_name, list_name, id_number.  I get 2472 on this.

I will leave these in the database for verification."	defect	closed	trivial	Beta 2	Database, Data Updates	Beta 1	normal	fixed	CC1 Client Component 1	lisa.burke@… dbmuge@…	N/A	N/A
