Sitecore 8.1 Update 2 - 无法从显示名称生成URL

时间:2016-04-05 14:18:42

标签: sitecore sitecore8

我们将我们的解决方案从Sitecore 8.1 Update 1升级到Update 2.我们的URL是根据显示名称生成的,并且运行正常。

但升级后,虽然ShowConfig.aspx仍然显示“useDisplayName =”true“for。”,但行为已从项目名称更改为URL生成。

我们正在使用以下配置:

<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
    <linkManager defaultProvider="sitecore">
        <providers>
            <clear/>
            <add name="sitecore">
                <patch:attribute name="addAspxExtension">false</patch:attribute>
                <patch:attribute name="useDisplayName">true</patch:attribute>
                <patch:attribute name="languageEmbedding">never</patch:attribute>
                <patch:attribute name="alwaysIncludeServerUrl">true</patch:attribute>
            </add>
        </providers>
    </linkManager>
</sitecore>

现在所有链接只显示404.我缺少什么?

我们尝试了一个空的解决方案,这是相同的行为。所以这是一个Sitecore错误。

1 个答案:

答案 0 :(得分:11)

我们联系了Sitecore支持。他们在Sitecore.config中的Update 2中引入了一个新设置。

<setting name="ItemResolving.FindBestMatch" value="DeepScan" />

此设置需要设置为:

<setting name="ItemResolving.FindBestMatch" value="Disabled" />

应该解决以下错误:

96805:项目可能未使用特定的encodeNameReplacement和通配符/显示名称解析逻辑进行解析

现在注册为参考编号为105324的错误。