Skip to content

Commit 37e78b1

Browse files
author
Nilesh Ghodekar
committed
BugFix: Selected Attributes section does not correctly document if the flows are configured or not due to changes in the syncrule xml config structure in the recent AADC versions.
1 parent 7e007fd commit 37e78b1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/AzureADConnectSyncDocumenter/ConnectorDocumenter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ protected void FillConnectorSelectedAttributesDataSet(bool pilotConfig)
10541054
var attributeInfo = connector.XPathSelectElement(".//dsml:attribute-type[dsml:name = '" + attributeName + "']", Documenter.NamespaceManager);
10551055
if (attributeInfo != null)
10561056
{
1057-
var hasInboundFlows = config.XPathSelectElements(Documenter.GetSynchronizationRuleXmlRootXPath(pilotConfig) + "/synchronizationRule[translate(connector, '" + Documenter.LowercaseLetters + "', '" + Documenter.UppercaseLetters + "') = '" + currentConnectorGuid + "' and direction = 'Inbound' " + Documenter.SyncRuleDisabledCondition + "]/attribute-mappings/mapping/src[attr = '" + attributeName + "']").Count() != 0;
1057+
var hasInboundFlows = config.XPathSelectElements(Documenter.GetSynchronizationRuleXmlRootXPath(pilotConfig) + "/synchronizationRule[translate(connector, '" + Documenter.LowercaseLetters + "', '" + Documenter.UppercaseLetters + "') = '" + currentConnectorGuid + "' and direction = 'Inbound' " + Documenter.SyncRuleDisabledCondition + "]/attribute-mappings/mapping[./src/attr/text()='" + attributeName + "' or contains(./expression/text(), '[" + attributeName + "]')]").Count() != 0;
10581058
var hasOutboundFlows = config.XPathSelectElements(Documenter.GetSynchronizationRuleXmlRootXPath(pilotConfig) + "/synchronizationRule[translate(connector, '" + Documenter.LowercaseLetters + "', '" + Documenter.UppercaseLetters + "') = '" + currentConnectorGuid + "' and direction = 'Outbound' " + Documenter.SyncRuleDisabledCondition + "]/attribute-mappings/mapping[dest = '" + attributeName + "']").Count() != 0;
10591059

10601060
var row = table.NewRow();

src/VersionInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ internal static class VersionInfo
2222
/// Build Number (MMDD)
2323
/// Revision (if any on the same day)
2424
/// </summary>
25-
internal const string Version = "1.20.0511.0";
25+
internal const string Version = "1.20.0917.0";
2626

2727
/// <summary>
2828
/// File Version information for the assembly consists of the following four values:
@@ -31,6 +31,6 @@ internal static class VersionInfo
3131
/// Build Number (MMDD)
3232
/// Revision (if any on the same day)
3333
/// </summary>
34-
internal const string FileVersion = "1.20.0511.0";
34+
internal const string FileVersion = "1.20.0917.0";
3535
}
3636
}

0 commit comments

Comments
 (0)