Copied to clipboard

Flag this post as spam?

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


  • Saidi Oussama 28 posts 211 karma points
    Sep 24, 2018 @ 14:19
    Saidi Oussama
    0

    PureLiveModelFactory - Failed to build models

    Hi, I'm on Umbraco 7.8.1 and I'm getting this error on ModelsBuilder :

    2018-09-24 16:05:10,898 [P21656/D16/T38] ERROR Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory - Failed to build models.
    System.Exception: Panic: duplicate type ClrName "DocumentHtml".
       à Umbraco.ModelsBuilder.Umbraco.Application.GetTypes(PublishedItemType itemType, IContentTypeBase[] contentTypes) dans D:\d\Zbu ModelsBuilder-7\Umbraco.ModelsBuilder\Umbraco\Application.cs:ligne 166
       à Umbraco.ModelsBuilder.Umbraco.Application.GetAllTypes() dans D:\d\Zbu ModelsBuilder-7\Umbraco.ModelsBuilder\Umbraco\Application.cs:ligne 54
       à Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory.GetModelsAssembly(Boolean forceRebuild) dans D:\d\Zbu ModelsBuilder-7\Umbraco.ModelsBuilder\Umbraco\PureLiveModelFactory.cs:ligne 295
       à Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory.EnsureModels() dans D:\d\Zbu ModelsBuilder-7\Umbraco.ModelsBuilder\Umbraco\PureLiveModelFactory.cs:ligne 236
     2018-09-24 16:05:10,908 [P21656/D16/T38] WARN  Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory - Running without models.
     2018-09-24 16:05:17,722 [P21656/D16/T8] INFO  Umbraco.Core.PluginManager - Resolving umbraco.interfaces.IDiscoverable
     2018-09-24 16:05:17,722 [P21656/D16/T8] INFO  Umbraco.Core.PluginManager - Resolved umbraco.interfaces.IDiscoverable (took 0ms)
     2018-09-24 16:05:17,723 [P21656/D16/T8] INFO  Umbraco.Core.PluginManager - Resolving umbraco.cms.businesslogic.macro.IMacroEngine
     2018-09-24 16:05:17,742 [P21656/D16/T8] INFO  Umbraco.Core.PluginManager - Resolved umbraco.cms.businesslogic.macro.IMacroEngine (took 18ms)
    
  • Bernard Moes 16 posts 138 karma points
    Sep 24, 2018 @ 15:34
    Bernard Moes
    0

    Looks like you have a naming collision in one of your document types. Make sure to check if there's any property type alias matching the parent document type alias. Property type aliases may not be equal to their document type aliases.

    In case you didn't know. You don't need the ZBU package anymore since Umbraco 7.4. Umbraco now has a builtin model builder.

Please Sign in or register to post replies

Write your reply to:

Draft