- Fehlende Angabe in ccm-sci-publicpersonalprofile.load
- Fehlerausgabe in ContentTypeHelperImpl verbessert git-svn-id: https://svn.libreccm.org/ccm/trunk@1000 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
8193889af7
commit
c3f13c765b
|
|
@ -228,6 +228,9 @@ public class ContentTypeHelperImpl implements ContentTypeHelper {
|
|||
// Turn on search indexing for this type
|
||||
ObjectType type = SessionManager.getMetadataRoot().getObjectType(
|
||||
m_objectType);
|
||||
if (type == null) {
|
||||
throw new IllegalArgumentException(String.format("No object type for '%s'", m_objectType));
|
||||
}
|
||||
if (type.isSubtypeOf(ContentPage.BASE_DATA_OBJECT_TYPE)
|
||||
&& !isInternal()) {
|
||||
s_log.debug("Registering search adapter for "
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
<initalizer class="com.arsdigita.cms.contenttypes.SciProjectInitializer"/>
|
||||
</requires>
|
||||
<provides>
|
||||
<table name="ct_sci_public_personal_profiles"/>
|
||||
<initalizer class="com.arsdigita.cms.contenttypes.SciPublicPersonalProfileInizalizer"/>
|
||||
</provides>
|
||||
<scripts>
|
||||
|
|
|
|||
Loading…
Reference in New Issue