From 3b3ec6606148d7050a82fb4baf9d644aa0b6d417 Mon Sep 17 00:00:00 2001 From: jensp Date: Tue, 17 May 2011 18:00:17 +0000 Subject: [PATCH] =?UTF-8?q?Fehler=20in=20ContentSection#getDescendantsOfCo?= =?UTF-8?q?ntentType(ContentType)=20korrigiert.=20F=C3=BChrte=20zu=20einer?= =?UTF-8?q?=20Exception=20beim=20Aufruf=20des=20Suchen-Tabs=20im=20ItemSea?= =?UTF-8?q?rchWidget.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.libreccm.org/ccm/trunk@917 8810af33-2d31-482b-a856-94f89814c4df --- ccm-cms/src/com/arsdigita/cms/ContentSection.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ccm-cms/src/com/arsdigita/cms/ContentSection.java b/ccm-cms/src/com/arsdigita/cms/ContentSection.java index bd784121e..b760a3dc1 100755 --- a/ccm-cms/src/com/arsdigita/cms/ContentSection.java +++ b/ccm-cms/src/com/arsdigita/cms/ContentSection.java @@ -791,7 +791,7 @@ public class ContentSection extends Application { CompoundFilter or = ff.or(); // The content type must be either of the requested type - or.addFilter(ff.equals(ContentType.ID, ct.ID)); + or.addFilter(ff.equals(ContentType.ID, ct.getID())); // Or must be a descendant of the requested type try { @@ -801,6 +801,7 @@ public class ContentSection extends Application { } } catch (Exception ex) { // WTF? The selected content type does not exist in the table??? + s_log.error("WTF? The selected content type does not exist in the table???"); } ctc.addFilter(or);