From 6b4f10147c92d24534df7cba750e4662c72d718e Mon Sep 17 00:00:00 2001 From: Sergey Rymsha Date: Thu, 23 Mar 2023 12:18:48 +0100 Subject: [PATCH] base:media must be abstract #10099 (#10100) --- .../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 )