Fehler in ContentSection#getDescendantsOfContentType(ContentType) korrigiert. Führte zu einer Exception beim Aufruf des Suchen-Tabs im ItemSearchWidget.
git-svn-id: https://svn.libreccm.org/ccm/trunk@917 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
eb680c69ca
commit
3b3ec66061
|
|
@ -791,7 +791,7 @@ public class ContentSection extends Application {
|
||||||
CompoundFilter or = ff.or();
|
CompoundFilter or = ff.or();
|
||||||
|
|
||||||
// The content type must be either of the requested type
|
// 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
|
// Or must be a descendant of the requested type
|
||||||
try {
|
try {
|
||||||
|
|
@ -801,6 +801,7 @@ public class ContentSection extends Application {
|
||||||
}
|
}
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
// WTF? The selected content type does not exist in the table???
|
// 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);
|
ctc.addFilter(or);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue