From bf55958b0ab0776b3ee716b6a1d1dd1d57a6d2ac Mon Sep 17 00:00:00 2001 From: NileshGhodekar Date: Sat, 12 Jan 2019 19:49:49 +0000 Subject: [PATCH] Fixed - GenerateUniqueValue Activity is now correctly backward compatible. --- src/VersionInfo.cs | 4 ++-- src/WorkflowActivityLibrary/Activities/GenerateUniqueValue.cs | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/VersionInfo.cs b/src/VersionInfo.cs index 9f9ea88..08c1e7e 100644 --- a/src/VersionInfo.cs +++ b/src/VersionInfo.cs @@ -22,7 +22,7 @@ internal static class VersionInfo /// Build Number (MMDD) /// Revision (if any on the same day) /// - internal const string Version = "2.19.0111.0"; + internal const string Version = "2.19.0112.0"; /// /// File Version information for the assembly consists of the following four values: @@ -31,6 +31,6 @@ internal static class VersionInfo /// Build Number (MMDD) /// Revision (if any on the same day) /// - internal const string FileVersion = "2.19.0111.0"; + internal const string FileVersion = "2.19.0112.0"; } } \ No newline at end of file diff --git a/src/WorkflowActivityLibrary/Activities/GenerateUniqueValue.cs b/src/WorkflowActivityLibrary/Activities/GenerateUniqueValue.cs index 5b95946..e3c7a72 100644 --- a/src/WorkflowActivityLibrary/Activities/GenerateUniqueValue.cs +++ b/src/WorkflowActivityLibrary/Activities/GenerateUniqueValue.cs @@ -559,6 +559,10 @@ private void SetAttributesToReadForConflictResources() this.FindConflict.Attributes = attributes.ToArray(); Logger.Instance.WriteVerbose(EventIdentifier.GenerateUniqueValueSetAttributesToReadForConflictResources, "Filter: '{0}'. Attributes: '{1}'.", this.ConflictFilter, string.Join(";", attributes.ToArray())); } + else + { + this.optimizeUniquenessKey = false; // Turn the config flag off as the conflict filter does not use starts-with function. + } } finally {