Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • ConfusedDev 1 post 71 karma points
    Oct 24, 2016 @ 16:06
    ConfusedDev
    0

    Courier Content packaging seemingly failing due to AD group, DataType packaging works

    When trying to deploy Content to another environment, the packagin task fails with the errors below. I changed the name of the AD group to AD GROUP in the logs. Of note is that deploying custom DataTypes seem to work just fine.

    This is with an empty default Object as content.

    I'm thinking it has to do with the Created By property. We are using a custom membership provider. Do we need to make any changes to how groups are handled, or the membership provider?

    Running umbraco 7.2.2 and latest courier 2.

    Source log:

    2016-10-24 17:41:54,131 [140] ERROR Umbraco.Courier.Core.TaskManager - [Thread 88] Error PackagingTask with id: 5a4ae4e9-dd4d-4c90-ae38-81a3b9656c27
    System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Umbraco.Courier.Core.Exceptions.RetrieveException: Error retrieving item [AD GROUP] from provider [4715aa16-fa35-426f-bb67-674043557875]. ---> System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
       at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
       at System.Guid.TryParseGuidWithNoStyle(String guidString, GuidResult& result)
       at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
       at System.Guid..ctor(String g)
       at Umbraco.Courier.Persistence.V6.NHibernate.Persisters.MemberGroupItem.RetrieveItem(ItemIdentifier itemId)
       at Umbraco.Courier.Core.ItemCrud`1.RetrieveItem[T1](ItemIdentifier itemId)
       at Umbraco.Courier.Core.ItemCrudProvider.RetrieveItem[T](ItemIdentifier itemId)
       --- End of inner exception stack trace ---
       at Umbraco.Courier.Core.ItemCrudProvider.RetrieveItem[T](ItemIdentifier itemId)
       at Umbraco.Courier.Core.GenericItemProvider`1.HandlePack(ItemIdentifier id)
       at Umbraco.Courier.Core.ItemProvider.Package(ItemIdentifier id)
       at Umbraco.Courier.RepositoryProviders.Local.Package(ItemIdentifier itemId)
       at Umbraco.Courier.RepositoryProviders.Local.Hash(ItemIdentifier itemId)
       --- End of inner exception stack trace ---
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Umbraco.Courier.RepositoryProviders.WebServiceProvider.RepositoryWebservice.GetItemHash(String sessionKey, ItemIdentifier itemId, String user, String pass)
       at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.Hash(ItemIdentifier itemId)
       at Umbraco.Courier.Core.Packaging.RevisionPackaging.LoadDependenciesIntoGraph(Item item, QueuedItemIdentifier itemInQueue, Boolean filtered)
       at Umbraco.Courier.Core.Packaging.RevisionPackaging.PackageBatch()
       at Umbraco.Courier.Core.Packaging.RevisionPackaging.PackageBatch()
       at Umbraco.Courier.Core.Packaging.RevisionPackaging.Package()
       at Umbraco.Courier.Core.Tasks.PackagingTask.Run()
       at Umbraco.Courier.Core.BackgroundTaskRunner`1.ConsumeTaskInternal(T task)
    2016-10-24 17:41:54,131 [140] ERROR Umbraco.Courier.Core.BackgroundTaskRunner - [Thread 88] An error occurred consuming task
    System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Umbraco.Courier.Core.Exceptions.RetrieveException: Error retrieving item [AD GROUP] from provider [4715aa16-fa35-426f-bb67-674043557875]. ---> System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
       at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
       at System.Guid.TryParseGuidWithNoStyle(String guidString, GuidResult& result)
       at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
       at System.Guid..ctor(String g)
       at Umbraco.Courier.Persistence.V6.NHibernate.Persisters.MemberGroupItem.RetrieveItem(ItemIdentifier itemId)
       at Umbraco.Courier.Core.ItemCrud`1.RetrieveItem[T1](ItemIdentifier itemId)
       at Umbraco.Courier.Core.ItemCrudProvider.RetrieveItem[T](ItemIdentifier itemId)
       --- End of inner exception stack trace ---
       at Umbraco.Courier.Core.ItemCrudProvider.RetrieveItem[T](ItemIdentifier itemId)
       at Umbraco.Courier.Core.GenericItemProvider`1.HandlePack(ItemIdentifier id)
       at Umbraco.Courier.Core.ItemProvider.Package(ItemIdentifier id)
       at Umbraco.Courier.RepositoryProviders.Local.Package(ItemIdentifier itemId)
       at Umbraco.Courier.RepositoryProviders.Local.Hash(ItemIdentifier itemId)
       --- End of inner exception stack trace ---
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Umbraco.Courier.RepositoryProviders.WebServiceProvider.RepositoryWebservice.GetItemHash(String sessionKey, ItemIdentifier itemId, String user, String pass)
       at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.Hash(ItemIdentifier itemId)
       at Umbraco.Courier.Core.Packaging.RevisionPackaging.LoadDependenciesIntoGraph(Item item, QueuedItemIdentifier itemInQueue, Boolean filtered)
       at Umbraco.Courier.Core.Packaging.RevisionPackaging.PackageBatch()
       at Umbraco.Courier.Core.Packaging.RevisionPackaging.PackageBatch()
       at Umbraco.Courier.Core.Packaging.RevisionPackaging.Package()
       at Umbraco.Courier.Core.Tasks.PackagingTask.Run()
       at Umbraco.Courier.Core.BackgroundTaskRunner`1.ConsumeTaskInternal(T task)

    Target server log:

    2016-10-24 17:41:54,062 [67] ERROR Umbraco.Courier.Core.Diagnostics.Logging.RevisionLog - [Thread 57] [Error]; Item Id: AD GROUP; Caller: Umbraco.Courier.Persistence.V6.NHibernate.NHibernateProvider; Process: PersistenceManager; Msg: Could not retrieve item: 
    
     System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
       at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
       at System.Guid.TryParseGuidWithNoStyle(String guidString, GuidResult& result)
       at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
       at System.Guid..ctor(String g)
       at Umbraco.Courier.Persistence.V6.NHibernate.Persisters.MemberGroupItem.RetrieveItem(ItemIdentifier itemId)
       at Umbraco.Courier.Core.ItemCrud`1.RetrieveItem[T1](ItemIdentifier itemId)
       at Umbraco.Courier.Core.ItemCrudProvider.RetrieveItem[T](ItemIdentifier itemId);
    System.Exception: Error logged
    2016-10-24 17:41:54,062 [67] ERROR Umbraco.Courier.Core.ItemCrudProvider - [Thread 57] An error occurred in RetrieveItem
Please Sign in or register to post replies

Write your reply to:

Draft