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.
This commit is contained in:
Родитель
7e007fd27e
Коммит
37e78b1c41
|
@ -1054,7 +1054,7 @@ namespace AzureADConnectConfigDocumenter
|
|||
var attributeInfo = connector.XPathSelectElement(".//dsml:attribute-type[dsml:name = '" + attributeName + "']", Documenter.NamespaceManager);
|
||||
if (attributeInfo != null)
|
||||
{
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
|
||||
var row = table.NewRow();
|
||||
|
|
|
@ -22,7 +22,7 @@ namespace AzureADConnectConfigDocumenter
|
|||
/// Build Number (MMDD)
|
||||
/// Revision (if any on the same day)
|
||||
/// </summary>
|
||||
internal const string Version = "1.20.0511.0";
|
||||
internal const string Version = "1.20.0917.0";
|
||||
|
||||
/// <summary>
|
||||
/// File Version information for the assembly consists of the following four values:
|
||||
|
@ -31,6 +31,6 @@ namespace AzureADConnectConfigDocumenter
|
|||
/// Build Number (MMDD)
|
||||
/// Revision (if any on the same day)
|
||||
/// </summary>
|
||||
internal const string FileVersion = "1.20.0511.0";
|
||||
internal const string FileVersion = "1.20.0917.0";
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче