From e46d934e6b20a79be4f9b1c33df01b2820352c0a Mon Sep 17 00:00:00 2001
From: gpawel <gpawel>
Date: Wed, 12 Oct 2011 08:47:44 +0000
Subject: [PATCH] bugfix

SVN: 23299
---
 .../client/web/client/application/ClientPluginFactory.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/client/application/ClientPluginFactory.java b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/client/application/ClientPluginFactory.java
index 87e54f33808..115e0b18989 100644
--- a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/client/application/ClientPluginFactory.java
+++ b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/client/application/ClientPluginFactory.java
@@ -404,7 +404,7 @@ public final class ClientPluginFactory extends AbstractClientPluginFactory<Scree
             {
                 String permId = entity.getPermId();
                 return createImageDataSetViewer(entity,
-                        WellLocation.parseLocationStr(permId.substring(permId.indexOf(':'))));
+                        WellLocation.parseLocationStr(permId.substring(permId.indexOf(':') + 1)));
             } else if (datasetTypeCode
                     .matches(ScreeningConstants.ANY_HCS_IMAGE_DATASET_TYPE_PATTERN))
             {
-- 
GitLab