-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
state/sprint-candidateWe're trying to get this in a sprint at HQ in the next few weeksWe're trying to get this in a sprint at HQ in the next few weeks
Description
Umbraco 8.18.4
Deploy 4.6
I haven't found out exactly where this goes wrong but I get the following error:
EXCEPTION
Umbraco.Deploy.Exceptions.ProcessArtifactException: Process pass #2 failed for artifact umb://document-type/1b19a68535f44d0fa403444be6290c45. ---> Umbraco.Core.Exceptions.InvalidCompositionException: Content type with alias 'contentBase' has an invalid composition. Property groups with the same alias must also have the same type across all compositions, these aliases have different types: content.
at Umbraco.Core.Services.Implement.ContentTypeServiceBase`3.ValidateLocked(TItem compositionContentType)
at Umbraco.Core.Services.Implement.ContentTypeServiceBase`3.Save(TItem item, Int32 userId)
at Umbraco.Deploy.Connectors.ServiceConnectors.ContentTypeConnector.ContentTypeConnectorBase`2.Process(DeployState state, IDeployContext context, Int32 pass)
at Umbraco.Deploy.Environments.CurrentEnvironment.ProcessArtifacts(IEnumerable`1 arts, IDeployContext context, CancellationToken token)
--- End of inner exception stack trace ---
at Umbraco.Deploy.Environments.CurrentEnvironment.ProcessArtifacts(IEnumerable`1 arts, IDeployContext context, CancellationToken token)
at Umbraco.Deploy.Environments.CurrentEnvironment.ProcessPackageAsync(Guid sessionId, Package package, CancellationToken token)
at Umbraco.Deploy.Work.WorkItems.DiskReadWorkItem.<Proceed>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Umbraco.Deploy.Work.WorkItems.DiskReadWorkItem.<ExecuteAsyncSub>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Umbraco.Deploy.Work.WorkItems.DiskReadWorkItem.<ExecuteAsync>d__15.MoveNext()
It looks like it has to do with adding content to a group created on a composition.
I have a composition called baseContent with a few properties in a tab without a group.
On a doctype using this composition I add a few properties to that tab. Umbraco allows it without issues but deploy breaks.
I expect Deploy to allow it since it is possible in Umbraco and it is how compositions should work? At least we are using them like this since V7.
The way it behaves now means I can't add properties to a tab created in a composition. Or I am missing something...
This item has been added to our backlog AB#32763
Metadata
Metadata
Assignees
Labels
state/sprint-candidateWe're trying to get this in a sprint at HQ in the next few weeksWe're trying to get this in a sprint at HQ in the next few weeks