From d1c457c2f5a8f569042102f065036677c16911ce Mon Sep 17 00:00:00 2001 From: rymsha Date: Thu, 23 Mar 2023 09:34:53 +0100 Subject: [PATCH] base:media must be abstract #10099 --- .../enonic/xp/core/impl/schema/content/BuiltinContentTypes.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/core-schema/src/main/java/com/enonic/xp/core/impl/schema/content/BuiltinContentTypes.java b/modules/core/core-schema/src/main/java/com/enonic/xp/core/impl/schema/content/BuiltinContentTypes.java index 8df5714caca..f900bc079c7 100644 --- a/modules/core/core-schema/src/main/java/com/enonic/xp/core/impl/schema/content/BuiltinContentTypes.java +++ b/modules/core/core-schema/src/main/java/com/enonic/xp/core/impl/schema/content/BuiltinContentTypes.java @@ -283,7 +283,7 @@ final class BuiltinContentTypes .build(); private static final ContentType MEDIA = - createSystemType( ContentTypeName.media() ).setFinal( false ).setAbstract( false ).allowChildContent( false ).build(); + createSystemType( ContentTypeName.media() ).setFinal( false ).setAbstract( true ).allowChildContent( false ).build(); private static final ContentType MEDIA_TEXT = createSystemType( ContentTypeName.textMedia() ).superType( ContentTypeName.media() ) .setFinal( true )