From 7a809906553c79d806484b4460f05f5fa509491f Mon Sep 17 00:00:00 2001 From: NileshGhodekar Date: Wed, 27 Sep 2017 10:02:39 +0100 Subject: [PATCH 1/2] BUG fix in parameter validation of DateTimeFromString. BUG fix in SortList function return value. --- src/VersionInfo.cs | 4 ++-- src/WorkflowActivityLibrary/Common/ExpressionFunction.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/VersionInfo.cs b/src/VersionInfo.cs index 21f1ba1..338965d 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.17.0716.0"; + internal const string Version = "2.17.0927.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.17.0716.0"; + internal const string FileVersion = "2.17.0927.0"; } } \ No newline at end of file diff --git a/src/WorkflowActivityLibrary/Common/ExpressionFunction.cs b/src/WorkflowActivityLibrary/Common/ExpressionFunction.cs index fd05603..0760706 100644 --- a/src/WorkflowActivityLibrary/Common/ExpressionFunction.cs +++ b/src/WorkflowActivityLibrary/Common/ExpressionFunction.cs @@ -2246,7 +2246,7 @@ private object DateTimeFromString() try { - if (this.parameters.Count < 1 && this.parameters.Count > 2) + if (this.parameters.Count < 1 || this.parameters.Count > 2) { throw Logger.Instance.ReportError(EventIdentifier.ExpressionFunctionDateTimeFromStringInvalidFunctionParameterCountError, new InvalidFunctionFormatException(Messages.ExpressionFunction_InvalidFunctionParameterCountError2, this.function, 1, 2, this.parameters.Count)); } @@ -4903,7 +4903,7 @@ private object SortList() list.Sort(); - result = this.parameters[0]; + result = list; } else { From 0564f9c8eacafed2f5cf8e92d151bba69c806942 Mon Sep 17 00:00:00 2001 From: NileshGhodekar Date: Wed, 27 Sep 2017 10:07:22 +0100 Subject: [PATCH 2/2] Updated ChangeLog.md for Version 2.17.0927.0 --- ChangeLog.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index 01897e9..7617983 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -7,6 +7,13 @@ All notable changes to MIMWAL project will be documented in this file. The "Unre * Support for multi-valued attributes in `[//Effective]` lookup in AuthZ workflows. * Implement Approve Request Activity. +### Version 2.17.0927.0 + +#### Fixed + +* Bugfix in SortList function. + + ### Version 2.17.0414.0 #### Added