Copied to clipboard

Flag this post as spam?

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


  • Yuvraj Singh 31 posts 140 karma points
    Sep 21, 2021 @ 10:14
    Yuvraj Singh
    0

    Could not find a datatype with identifier 0. Parameter name: id

    Failed to build models. Could not find a datatype with identifier 0.

    After deploying my changes at the dev site then getting an error on the dev site but the local system working fine.

    Geeting error :-

    Last generation failed with the following error: Failed to build models. Could not find a datatype with identifier 0. Parameter name: id

    at Umbraco.Core.Models.PublishedContent.PublishedContentTypeFactory.GetDataType(Int32 id) at Umbraco.Core.Models.PublishedContent.PublishedPropertyType..ctor(String propertyTypeAlias, Int32 dataTypeId, Boolean isUserProperty, ContentVariation variations, PropertyValueConverterCollection propertyValueConverters, IPublishedModelFactory publishedModelFactory, IPublishedContentTypeFactory factory) at Umbraco.Core.Models.PublishedContent.PublishedPropertyType..ctor(IPublishedContentType contentType, PropertyType propertyType, PropertyValueConverterCollection propertyValueConverters, IPublishedModelFactory publishedModelFactory, IPublishedContentTypeFactory factory) at Umbraco.Core.Models.PublishedContent.PublishedContentTypeFactory.CreatePropertyType(IPublishedContentType contentType, PropertyType propertyType) at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at Umbraco.Core.Models.PublishedContent.PublishedContentType..ctor(IContentTypeComposition contentType, IPublishedContentTypeFactory factory) at Umbraco.Core.Models.PublishedContent.PublishedContentTypeFactory.CreateContentType(IContentTypeComposition contentType) at Umbraco.ModelsBuilder.Embedded.UmbracoServices.GetTypes(PublishedItemType itemType, IContentTypeComposition[] contentTypes) at Umbraco.ModelsBuilder.Embedded.UmbracoServices.GetAllTypes() at Umbraco.ModelsBuilder.Embedded.Building.ModelsGenerator.GenerateModels() at Umbraco.ModelsBuilder.Embedded.BackOffice.ModelsBuilderDashboardController.BuildModels()

  • Yuvraj Singh 31 posts 140 karma points
    Sep 30, 2021 @ 10:07
    Yuvraj Singh
    0

    This issue was resolved by Umbraco support. Last message by Umbraco support see that :-

    Yes just go an update  Our developers attached Deploy to the project locally and the issue is with the member type UDA. They've recently made some changes with the sorting and it seems to have caused some issues.  We have fixed that and the new member type has been extracted.  Now there is another issue with dictionary items. Locally we removed the first UDA files to see if it was the only issue but then there was another dictionary item issue.  Some artifacts collide on unique identifiers. This means that they have different Udis, yet they refer to the same unique Umbraco object and therefore cannot be processed. Collisions for entity type "dictionary-item": Collisions for unique identifier "USN Members Navigation Logout": Artifact: umb://dictionary-item/291b52b3175d45d1b87a4abe4436f4a4 {DictionaryItem umb://dictionary-item/35dbf444046e477e8cbf4e2cd3cfd51b}

    If it's not visible in the Cloud portal then you can see it in Kudu for the Dev env. C:\home\site\wwwroot\data - deploy.log  So when we get those fixed then the models will also be build as it should  Best, -Dennis

Please Sign in or register to post replies

Write your reply to:

Draft