0

我在为 Intranet 安装 Sitecore Web Forms for Marketingers 模块时收到以下错误消息:

Sitecore.Exceptions.InvalidItemNameException: An item name must satisfy the pattern: ^(?=.{1,100}$)[\w\*\$][\w\s\$\-]*(\(\d{1,}\)){0,1}$ (controlled by the setting ItemNameValidation) 
  at Sitecore.Data.Items.ItemUtil.AssertItemName(String name) 
  at Sitecore.Data.Items.Item.set_Name(String value) 
  at Sitecore.Install.Items.ItemInstaller.VersionInstaller.InstallVersion(Item version) 
  at Sitecore.Install.Items.ItemInstaller.VersionInstaller.PasteVersion(XmlNode versionXml, Item target, VersionInstallMode mode, IProcessingContext context) 
  at Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry) 
  at Sitecore.Install.Items.ItemInstaller.Flush() 
  at Sitecore.Install.Items.LegacyItemUnpacker.Flush() 
  at Sitecore.Install.Framework.SinkDispatcher.Flush() 
  at Sitecore.Install.Utils.EntrySorter.Flush() 
  at Sitecore.Install.Framework.EntryBuilder.Flush() 
  at Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink) 
  at Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink) 
  at Sitecore.Install.Installer.InstallPackage(String path, ISource`1 source, IProcessingContext context) 
  at Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context) 
  at Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper.<INSTALL>b__0() 
  at Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper.CatchExceptions(ThreadStart start)
4

1 回答 1

5

在 sitecore 配置文件中,您会发现以下设置:

  <setting name="ItemNameValidation" value="^[\w\*\$][\w\s\-\$]*(\(\d{1,}\)){0,1}$" />  

从您的问题中,我看到您使用的值不是此设置的默认值。您可以更改默认值并尝试再次安装该模块。

于 2013-07-25T16:56:56.797 回答