summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVikas Mishra2012-03-09 06:09:45 (EST)
committerManik Kishore2012-06-19 07:20:10 (EDT)
commitc6ce0802b85326dbffcbd8c0169b618fc1951796 (patch)
treea513e008bafeede57bc756d1edc6d409554b9970
parentfd9654b8abb1b6f5c64b569a3e9ea9001cb4df01 (diff)
downloadorg.eclipse.stardust.ui.web-c6ce0802b85326dbffcbd8c0169b618fc1951796.zip
org.eclipse.stardust.ui.web-c6ce0802b85326dbffcbd8c0169b618fc1951796.tar.gz
org.eclipse.stardust.ui.web-c6ce0802b85326dbffcbd8c0169b618fc1951796.tar.bz2
Jira-ID: CRNT-24106
added filter for empty value git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@54425 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/views/search/RelatedProcessSearchHelper.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/views/search/RelatedProcessSearchHelper.java b/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/views/search/RelatedProcessSearchHelper.java
index 963fda4..ddefdd7 100644
--- a/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/views/search/RelatedProcessSearchHelper.java
+++ b/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/views/search/RelatedProcessSearchHelper.java
@@ -292,10 +292,14 @@ public class RelatedProcessSearchHelper
if (sourceDescriptors.containsKey(path.getId()))
{
Object value = sourceDescriptors.get(path.getId());
- if (null == value || (value instanceof String && StringUtils.isEmpty(value.toString())))
+ if (null == value)
{
continue;
}
+ else if (value instanceof String && StringUtils.isEmpty(value.toString()))
+ {
+ filter.add(DataFilter.equalsCaseDescriptor(path.getId(), ""));
+ }
else
{
filter.add(DataFilter.equalsCaseDescriptor(path.getId(), sourceDescriptors.get(path.getId())));