Skip to content
Snippets Groups Projects
Commit 6ee454db authored by felmer's avatar felmer
Browse files

SE-198 fix bug concerning wrong version shown

SVN: 14562
parent 8b6fda5c
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@
<context-param>
<param-name>infoClass</param-name>
<param-value>ch.systemsx.cisd.openbis.BuildAndEnvironmentInfo</param-value>
<param-value>ch.systemsx.cisd.openbis.plugin.screening.BuildAndEnvironmentInfo</param-value>
</context-param>
<context-param>
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
package ch.systemsx.cisd.openbis;
package ch.systemsx.cisd.openbis.plugin.screening;
import ch.systemsx.cisd.base.utilities.AbstractBuildAndEnvironmentInfo;
......
......@@ -16,6 +16,7 @@
package ch.systemsx.cisd.openbis.plugin.screening.client.web.client.application;
import ch.systemsx.cisd.openbis.generic.client.web.client.IClientServiceAsync;
import ch.systemsx.cisd.openbis.generic.client.web.client.ICommonClientServiceAsync;
import ch.systemsx.cisd.openbis.generic.client.web.client.application.Client;
import ch.systemsx.cisd.openbis.generic.client.web.client.application.IViewContext;
......@@ -47,4 +48,11 @@ public class ScreeningClient extends Client
return new ClientPluginFactoryProvider(commonContext);
}
@Override
protected IClientServiceAsync getServiceForRetrievingApplicationInfo(
IViewContext<ICommonClientServiceAsync> context)
{
return new ScreeningViewContext(context).getService();
}
}
......@@ -38,6 +38,7 @@ import ch.systemsx.cisd.openbis.generic.shared.basic.dto.GenericTableRow;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.Material;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.SampleParentWithDerived;
import ch.systemsx.cisd.openbis.generic.shared.dto.identifier.ExperimentIdentifierFactory;
import ch.systemsx.cisd.openbis.plugin.screening.BuildAndEnvironmentInfo;
import ch.systemsx.cisd.openbis.plugin.screening.client.web.client.IScreeningClientService;
import ch.systemsx.cisd.openbis.plugin.screening.shared.IScreeningServer;
import ch.systemsx.cisd.openbis.plugin.screening.shared.ResourceNames;
......@@ -83,6 +84,12 @@ public final class ScreeningClientService extends AbstractClientService implemen
// IScreeningClientService
//
@Override
protected String getVersion()
{
return BuildAndEnvironmentInfo.INSTANCE.getFullVersion();
}
public final SampleParentWithDerived getSampleGenerationInfo(final TechId sampleId)
throws UserFailureException
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment