﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	db_engine	os_version
369	CT Lookup Tables continuously out of sync	rlittle	Pete Cyr	"Environment:
- hitting localhost
- security disabled
- Lookup Tables not set to auto-update (see image 1)

Situation:
Upon adding a new accession record to the database, the LU Tables are not retaining their proper status.

Details:
(1) Create new accession
(2) Close CT
(3) Open CT >> system shows 2 LUT out of sync >> say ok and go through process to update (click Load button in LookupTableLoader)
(4) ** Verify via SQL Mgmt Studio that current_pk and max_pk are now equal **
(5) Close CT
(6) Open CT >> system shows 2 LUT out of sync
(7) ** Verify via SQL Mgmt Studio that current_pk and max_pk are now NOT equal (current_pk is less than max_pk)
(8) Run LookupTableLoader and 'Load' the two tables (accession and inventory)
(9) ** Verify via SQL Mgmt Studio that current_pk and max_pk are now equal **
(10) Close CT
(11) Open CT >> system shows 2 LUT out of sync
(12) ** Verify via SQL Mgmt Studio that current_pk and max_pk are now NOT equal (current_pk is less than max_pk)

Additional Notes:
- If I set the LUTs to have auto-update, the above issue goes away. (Can open and close CT and LUTs stay in sync.) BUT, if I uncheck the LUT auto-update checkbox, then close the CT, upon opening the CT again, the values become out of sync and it prompts for update again."	defect	closed	major	Release Candidate 1	Curator Tool	1.0.3715.38967		fixed			SQL Server	Vista Home Premium 32 bit
