Copied to clipboard

Flag this post as spam?

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


  • René 2 posts 22 karma points
    Aug 03, 2015 @ 15:00
    René
    0

    InvalidCompositionException on update

    Came across this exception when I updated a website of a customer of ours from version 7.2.4 to 7.2.8. The exception is thrown when clicking on a Document Type in the Settings section of the Umbraco back-end. The full error message is:

    InvalidCompositionException - ContentType with alias 'umbMaster' was added as a Compsition to ContentType with alias 'umbTextPage', but there was a conflict on the PropertyType alias 'bodyText'. PropertyTypes must have a unique alias across all Compositions in order to compose a valid ContentType Composition.

    Is there someone who encountered this message aswell and has a migration script or solution of some sort? Thanks in advance!

  • Kerri Mallinson 113 posts 497 karma points
    Nov 03, 2015 @ 18:18
    Kerri Mallinson
    0

    Hi,

    Did you get a solution to this or can anyone else help? I'm having a similar error when trying to upgrade from 6.2.0 to 7.3.1

    When I click on a document type i get:

    InvalidCompositionException - ContentType with alias 'Page' was added as a Compsition to ContentType with alias 'NonNavigatableSection', but there was a conflict on the PropertyType alias 'umbracoRedirect'. PropertyTypes must have a unique alias across all Compositions in order to compose a valid ContentType Composition.

    I'm also getting an error with the views:

    Could not load type 'umbraco.presentation.LiveEditing.Utility' from assembly 'umbraco, Version=1.0.5780.28255, Culture=neutral, PublicKeyToken=null'

    Thanks in advance Kerri

  • Mayank 14 posts 44 karma points
    Jan 13, 2016 @ 13:37
    Mayank
    0

    HI,

    I have a similar issue while updating from 7.1.8 to 7.3.4.

    the update was unable to complete and showing following error.

    i am unable to access any of the page/back office section.

    do we have a solution for this ?

    Dettail error:

    InvalidCompositionException -

    ContentType with alias 'Global' was added as a Compsition to ContentType with alias 'Country',

    but there was a conflict on the PropertyType alias 'umbracoRedirect'.

    PropertyTypes must have a unique alias across all Compositions in order to compose a valid ContentType Composition.

    InvalidCompositionException - ContentType with alias 'Global' was added as a Compsition to ContentType with alias 'Country', but there was a conflict on the PropertyType alias 'umbracoRedirect'. PropertyTypes must have a unique alias across all Compositions in order to compose a valid ContentType Composition.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: Umbraco.Core.Exceptions.InvalidCompositionException: InvalidCompositionException - ContentType with alias 'Global' was added as a Compsition to ContentType with alias 'Country', but there was a conflict on the PropertyType alias 'umbracoRedirect'. PropertyTypes must have a unique alias across all Compositions in order to compose a valid ContentType Composition.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [InvalidCompositionException: InvalidCompositionException - ContentType with alias 'Global' was added as a Compsition to ContentType with alias 'Country', but there was a conflict on the PropertyType alias 'umbracoRedirect'. PropertyTypes must have a unique alias across all Compositions in order to compose a valid ContentType Composition.] Umbraco.Core.Models.ContentTypeCompositionBase.AddContentType(IContentTypeComposition contentType) +634 Umbraco.Core.Persistence.Repositories.ContentTypeQueryMapper.MapContentTypeChildren(IContentTypeComposition[] contentTypes, Database db, ISqlSyntaxProvider sqlSyntax, TRepo contentTypeRepository, IDictionary2 allParentContentTypeIds) +1020 Umbraco.Core.Persistence.Repositories.ContentTypeQueryMapper.GetContentTypes(TId[] contentTypeIds, Database db, ISqlSyntaxProvider sqlSyntax, TRepo contentTypeRepository, ITemplateRepository templateRepository) +303 Umbraco.Core.Persistence.Repositories.ContentTypeRepository.PerformGetAll(Int32[] ids) +106 Umbraco.Core.Persistence.Repositories.RepositoryBase2.GetAll(TId[] ids) +1546 Umbraco.Core.Persistence.Repositories.ContentRepository.ProcessQuery(Sql sql) +335 Umbraco.Core.Persistence.Repositories.VersionableRepositoryBase2.GetPagedResultsByQuery(IQuery1 query, Int64 pageIndex, Int32 pageSize, Int64& totalRecords, Tuple2 nodeIdSelect, Func2 processQuery, String orderBy, Direction orderDirection, Func1 defaultFilter) +2091 Umbraco.Core.Persistence.Repositories.ContentRepository.GetPagedResultsByQuery(IQuery1 query, Int64 pageIndex, Int32 pageSize, Int64& totalRecords, String orderBy, Direction orderDirection, String filter) +750 Umbraco.Core.Services.ContentService.GetPagedDescendants(Int32 id, Int64 pageIndex, Int32 pageSize, Int64& totalChildren, String orderBy, Direction orderDirection, String filter) +961 UmbracoExamine.UmbracoContentIndexer.PerformIndexAll(String type) +396 UmbracoExamine.BaseUmbracoIndexer.IndexAll(String type) +35 UmbracoExamine.BaseUmbracoIndexer.PerformIndexRebuild() +112 UmbracoExamine.UmbracoContentIndexer.RebuildIndex() +86 Examine.ExamineManager._RebuildIndex() +156 Umbraco.Web.WebBootManager.

    [HttpException (0x80004005): InvalidCompositionException - ContentType with alias 'Global' was added as a Compsition to ContentType with alias 'Country', but there was a conflict on the PropertyType alias 'umbracoRedirect'. PropertyTypes must have a unique alias across all Compositions in order to compose a valid ContentType Composition.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +544 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +186 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +402 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +343

    [HttpException (0x80004005): InvalidCompositionException - ContentType with alias 'Global' was added as a Compsition to ContentType with alias 'Country', but there was a conflict on the PropertyType alias 'umbracoRedirect'. PropertyTypes must have a unique alias across all Compositions in order to compose a valid ContentType Composition.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +579 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +112 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +716

Please Sign in or register to post replies

Write your reply to:

Draft