From 2c73c5a84dc2cb3466eb2835e7ca13086d99ed88 Mon Sep 17 00:00:00 2001 From: jensp Date: Mon, 20 Apr 2015 07:32:04 +0000 Subject: [PATCH] Removed the check for properties in the ObjectListPortlet (and therefore in the ItemListPortlet) of ccm-navigation. The Portlet(s) have now the same behaviour as an ordinary item list in a JSP template. git-svn-id: https://svn.libreccm.org/ccm/trunk@3348 8810af33-2d31-482b-a856-94f89814c4df --- .../navigation/ui/portlet/ObjectListPortletEditor.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ccm-navigation/src/com/arsdigita/navigation/ui/portlet/ObjectListPortletEditor.java b/ccm-navigation/src/com/arsdigita/navigation/ui/portlet/ObjectListPortletEditor.java index d98ab4e69..b77a15e82 100755 --- a/ccm-navigation/src/com/arsdigita/navigation/ui/portlet/ObjectListPortletEditor.java +++ b/ccm-navigation/src/com/arsdigita/navigation/ui/portlet/ObjectListPortletEditor.java @@ -326,11 +326,11 @@ public class ObjectListPortletEditor extends PortletConfigFormSection { field = field.substring(0, field.indexOf('.')); } - if (!objType.exists(Path.get(field))) { - throw new FormProcessException(NavigationGlobalizationUtil.globalize( - "portlet.ui.type_does_not_have_property", - new String[]{type.getQualifiedName(), field})); - } +// if (!objType.exists(Path.get(field))) { +// throw new FormProcessException(NavigationGlobalizationUtil.globalize( +// "portlet.ui.type_does_not_have_property", +// new String[]{type.getQualifiedName(), field})); +// } } }