Skip to content

Commit 13624ad

Browse files
Merge pull request #21 from qbicsoftware/hotfix/fix_vaadin_issue
Hotfix/fix vaadin issue
2 parents 98b4b6b + de5dc10 commit 13624ad

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

pom.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<parent>
77
<groupId>life.qbic</groupId>
88
<artifactId>portlet-parent-pom</artifactId>
9-
<version>3.1.0</version>
9+
<version>3.1.4</version>
1010
</parent>
1111
<artifactId>user-db-portlet</artifactId>
12-
<version>1.8.1</version>
12+
<version>1.8.2</version>
1313
<name>User Database Portlet</name>
1414
<url>http://github.com/qbicsoftware/user-db-portlet</url>
1515
<packaging>war</packaging>
@@ -56,17 +56,17 @@
5656
<dependency>
5757
<groupId>life.qbic</groupId>
5858
<artifactId>portal-utils-lib</artifactId>
59-
<version>2.2.1</version>
59+
<version>1.6.0</version>
6060
</dependency>
6161
<dependency>
6262
<groupId>life.qbic</groupId>
6363
<artifactId>core-utils-lib</artifactId>
64-
<version>1.7.0</version>
64+
<version>1.7.1</version>
6565
</dependency>
6666
<dependency>
6767
<groupId>life.qbic</groupId>
6868
<artifactId>openbis-client-lib</artifactId>
69-
<version>1.4.0</version>
69+
<version>1.4.1</version>
7070
</dependency>
7171
<dependency>
7272
<groupId>life.qbic</groupId>

src/main/java/life/qbic/portal/portlet/UserDBPortletUI.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ protected Layout getPortletContent(final VaadinRequest request) {
8888
boolean success = true;
8989
manager = ConfigurationManagerFactory.getInstance();
9090
tmpFolder = manager.getTmpFolder();
91-
9291
if (PortalUtils.isLiferayPortlet()) {
9392
// read in the configuration file
9493

@@ -109,9 +108,9 @@ protected Layout getPortletContent(final VaadinRequest request) {
109108
// establish connection to the OpenBIS API
110109
try {
111110
logger.debug("trying to connect to openbis");
112-
111+
final String openbisURL = manager.getDataSourceUrl() + "/openbis/openbis";
113112
this.openbis = new OpenBisClient(manager.getDataSourceUser(), manager.getDataSourcePassword(),
114-
manager.getDataSourceUrl());
113+
openbisURL);
115114
this.openbis.login();
116115
} catch (Exception e) {
117116
success = false;

0 commit comments

Comments
 (0)