validated the temporary fix and Integrated it

This commit is contained in:
John Jenko 2012-02-14 20:48:05 +00:00
parent 50917e39f3
commit dfa4855cd2

View File

@ -1360,9 +1360,7 @@ namespace Volian.Print.Library
//see if any annotations for old stepnum here and add them
foreach (AnnotationAuditInfo aai in annotationList)
{
if (processedAAI.ContainsKey(aai)) // JSJ - Temporary fix???
continue; // - had idential annotation info on two different step items, skip second instance
if (oldCAI != null && aai.IContentID == oldCAI.ContentID)
if (oldCAI != null && aai.IContentID == oldCAI.ContentID && !processedAAI.ContainsKey(aai))
{
//add annotation to minilist
// processedAAI.Add(aai.AnnotationID, aai);