-
Notifications
You must be signed in to change notification settings - Fork 0
Description
I noticed an issue when a had a "Icon Picker" datatype instance (based on Media Picker 3), which I renamed to "Media Icon Picker" and created a new datatype "Icon Picker" (based on a custom property editor).
After deployment to Umbraco Cloud environment I got the following extraction error:
{
"Date": "2025-10-27T11:07:40.210578+01:00",
"Message": "Some artifacts collide on unique identifiers.\r\nThis means that they have different Udis, yet\r\nthey refer to the same unique Umbraco object\r\nand therefore cannot be processed.\r\n---------------------------------------------\r\nCollisions for entity type \"data-type\": \r\n Collisions for unique identifier \"Icon Picker\":\r\n Artifact: umb://data-type/59b0764903114570ac45d2fe7583714e\r\n {DataType umb://data-type/3f1b4b7891184dbbb0459f5609530774}\r\n",
"Ex": {
"Type": "Umbraco.Deploy.Infrastructure.Exceptions.ArtifactCollisionException",
"Detail": "Some artifacts collide on unique identifiers.\r\nThis means that they have different Udis, yet\r\nthey refer to the same unique Umbraco object\r\nand therefore cannot be processed.\r\n---------------------------------------------\r\nCollisions for entity type \"data-type\": \r\n Collisions for unique identifier \"Icon Picker\":\r\n Artifact: umb://data-type/59b0764903114570ac45d2fe7583714e\r\n {DataType umb://data-type/3f1b4b7891184dbbb0459f5609530774}\r\n",
"StackTrace": " at Umbraco.Deploy.Infrastructure.Connectors.ServiceConnectors.DataTypeConnector.ProcessInitAsync(DataTypeArtifact artifact, IDeployContext context, CancellationToken cancellationToken)\r\n at Umbraco.Deploy.Infrastructure.Connectors.ServiceConnectors.ServiceConnectorBase`4.Umbraco.Cms.Core.Deploy.IServiceConnector.ProcessInitAsync(IArtifact artifact, IDeployContext context, CancellationToken cancellationToken)\r\n at Umbraco.Deploy.Infrastructure.Environments.CurrentEnvironment.ProcessArtifactsAsync(IEnumerable`1 artifactsWithOptions, String ownerEmail, IDeployContext context, CancellationToken cancellationToken)",
"EnvironmentName": "source",
"HasMeaningForUi": false,
"InnerException": null
},
"Sender": "Umbraco.Deploy.Infrastructure.Work.WorkItems.DiskReadWorkItem"
}
The two UDA-files:
data-type__3f1b4b7891184dbbb0459f5609530774.uda
{
"Name": "Media Icon Picker",
"EditorAlias": "Umbraco.MediaPicker3",
"EditorUiAlias": "Umb.PropertyEditorUi.MediaPicker",
"Configuration": {
"filter": "c4b1efcf-a9d5-41c4-9621-e9d273b52a9c",
"multiple": false,
"validationLimit": {
"max": 1
},
"enableLocalFocalPoint": false,
"ignoreUserStartNodes": false
},
"Parent": "umb://data-type-container/c23502bffc7c46748568e89a4674b0e4",
"Udi": "umb://data-type/3f1b4b7891184dbbb0459f5609530774",
"Dependencies": [
{
"Udi": "umb://data-type-container/c23502bffc7c46748568e89a4674b0e4",
"Ordering": true
},
{
"Udi": "umb://media-type/c4b1efcfa9d541c49621e9d273b52a9c",
"Mode": "Exist"
}
],
"__type": "Umbraco.Deploy.Infrastructure,Umbraco.Deploy.Infrastructure.Artifacts.DataTypeArtifact",
"__version": "16.0.4"
}
data-type__59b0764903114570ac45d2fe7583714e.uda
{
"Name": "Icon Picker",
"EditorAlias": "Umbraco.Plain.String",
"EditorUiAlias": "Mcb.PropertyEditorUi.IconPicker",
"Configuration": {},
"Parent": "umb://data-type-container/c23502bffc7c46748568e89a4674b0e4",
"Udi": "umb://data-type/59b0764903114570ac45d2fe7583714e",
"Dependencies": [
{
"Udi": "umb://data-type-container/c23502bffc7c46748568e89a4674b0e4",
"Ordering": true
}
],
"__type": "Umbraco.Deploy.Infrastructure,Umbraco.Deploy.Infrastructure.Artifacts.DataTypeArtifact",
"__version": "16.0.4"
}
I could solved it by doing it several steps:
- Rename "Icon Picker" to "Media Icon Picker" and deploy change
- Create new "Icon Picker" datatype instance and deploy change
However now when a pull the changes from development environment to local environment (on other computer) I get the same extraction errors.
I can solve the extraction error manually on local environment, when I rename the existing datatype "Icon Picker" to "Media Icon Picker" first.
It seems deploy is a bit confused about renaming the existing from "Icon Picker" -> "Media Icon Picker" while creating a new with same original name "Icon Picker".
Deploy v16.0.4
CMS v16.3.1