짧은 질문 : 어떻게 압축을 풀 수 있습니까?Sitecore 우편 패키지 편집
Sitecore 6.6.0 (회전 121015)을 사용하고 있습니다. Sitecore에 패키지를 생성 중입니다. zip 파일이 생성됩니다 (HomePackage.zip). 압축을 풀면 다른 zip이 나타납니다 - package.zip. package.zip을 압축 해제하면 파일이있는 폴더가 나타납니다.
문제점 : 7z로 uziped 폴더를 압축하면 package.zip 파일이 작성되고 package.zip 파일을 압축하면 HomePackage.zip이 작성됩니다. 나는 아무것도 수정하지 않았다는 것을 주목하라. 불행히도 새로 설치 한 패키지를 설치하려고 할 때 (나에게 원본과 비슷해야 함) sitecore가 예외를 throw합니다.
ManagedPoolThread #3 10:20:51 INFO Cache created: 'rules' (max size: 800KB, running total: 402MB)
ManagedPoolThread #3 10:20:51 ERROR Error installing items/master/sitecore/content/Home/Products/Europe/Independent Breaks and Mini TRIPS/World War 1 Battlefields/Summer 2015/World War 1 Battlefields/Sightseeing highlights/1 Vimy Ridge/{694AB1C9-F690-445F-9E4A-2F1BD0CC1E09}/en/
Exception: System.ArgumentException
Message: Empty strings are not allowed.
Parameter name: itemName
Source: Sitecore.Kernel
at Sitecore.Diagnostics.Assert.ArgumentNotNullOrEmpty(String argument, String argumentName)
at Sitecore.Data.Engines.DataCommands.AddFromTemplateCommand.Initialize(String itemName, ID templateId, Item destination, ID newId)
at Sitecore.Data.Engines.DataEngine.GetAddFromTemplateCommand(String itemName, ID templateId, Item destination, ID newId)
at Sitecore.Install.Items.ItemInstaller.CreateLightweightItem(ItemReference item, XmlVersionParser parser)
at Sitecore.Install.Items.ItemInstaller.InstallItem(BehaviourOptions installOptions, Item targetItem, ItemReference item, XmlVersionParser parser)
at Sitecore.Install.Items.ItemInstaller.GetVersionInstallMode(PackageEntry entry, ItemReference reference, XmlVersionParser parser, ItemInstallerContext context)
at Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry)
ManagedPoolThread #3 10:20:51 ERROR Installation failed: System.ArgumentException: Empty strings are not allowed.
Parameter name: itemName
at Sitecore.Diagnostics.Assert.ArgumentNotNullOrEmpty(String argument, String argumentName)
at Sitecore.Data.Engines.DataCommands.AddFromTemplateCommand.Initialize(String itemName, ID templateId, Item destination, ID newId)
at Sitecore.Data.Engines.DataEngine.GetAddFromTemplateCommand(String itemName, ID templateId, Item destination, ID newId)
at Sitecore.Install.Items.ItemInstaller.CreateLightweightItem(ItemReference item, XmlVersionParser parser)
at Sitecore.Install.Items.ItemInstaller.InstallItem(BehaviourOptions installOptions, Item targetItem, ItemReference item, XmlVersionParser parser)
at Sitecore.Install.Items.ItemInstaller.GetVersionInstallMode(PackageEntry entry, ItemReference reference, XmlVersionParser parser, ItemInstallerContext 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, Boolean registerInstallation, ISource`1 source, IProcessingContext context)
at Sitecore.Install.Installer.InstallPackage(String path, ISource`1 source, 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)
은 내가 (내부 zip 파일)을 만드는 package.zip가 두 배 큰 것으로 나타났습니다 : 다음
items/master/sitecore/content/Home/Products/Europe/Eastern Europe/Treasures of the Balkans/Summer 2015/Treasures of the Balkans/Itinerary/Day Seventeen/
ManagedPoolThread #3 10:20:48 WARN Cannot parse reference 'items/master/sitecore/content/Home/Products/Europe/Eastern Europe/Treasures of the Balkans/Summer 2015/Treasures of the Balkans/Itinerary/Day Nine/{24348D51-7070-4B43-AD4F-E8DA902468E8}/en/1/'
Exception: System.ArgumentException
Message: Could not parse the language '1'. Note that a custom language name must be on the form: isoLanguageCode-isoRegionCode-customName. The language codes are two-letter ISO 639-1, and the regions codes are are two-letter ISO 3166. Also, customName must not exceed 8 characters in length. Valid example: en-US-East. For the full list of requirements, see: http://msdn2.microsoft.com/en-US/library/system.globalization.cultureandregioninfobuilder.cultureandregioninfobuilder.aspx
Source: Sitecore.Kernel
at Sitecore.Globalization.Language.Parse(String name)
at Sitecore.Install.Items.ItemReference.Parse(String reference)
at Sitecore.Install.Items.ItemKeyUtils.GetReference(String key):
그리고 모든 것을 정지 최종 예외 : 경고의 많음 아래에 나열된 원본 package.zip. 내 폴더를 다시 압축하고 패키지를 다시 만들려면 어떻게합니까?
질문하지 말아주세요. 왜 내가 그 일을하는지, 아니면 내 문제를 해결하기 위해 다른 방법을 사용하고 있는지. 나는 기존의 폴더 구조에서 패키지를 재현하는 데 사용할 수있는 도구를 배우는 것만으로도 재미 있습니다.
답장을 승인하기 전에 고맙게도 나는 당신이 옳다고 생각합니다. –
@Mark Cassidy 수동으로 프로젝트 파일을 내 c : \ 드라이브의 루트에서 편집했으며 여전히 문제에 직면했습니다. 저에게 도움이 된 것은 BeyondCompare를 사용하여 추출하지 않고 zip 파일 내부의 프로젝트를 업데이트하는 것입니다. 패키지 제작을 더 잘하기위한 작업 :) – phani