Fixed bug on just uploaded images from Desktop
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/reports@100111 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
5dd2fb4fc2
commit
d98c046fc2
|
@ -2,6 +2,7 @@
|
||||||
<Changeset component="org.gcube.portlets-user.report-generator-portlet.4-11-0"
|
<Changeset component="org.gcube.portlets-user.report-generator-portlet.4-11-0"
|
||||||
date="2014-09-16">
|
date="2014-09-16">
|
||||||
<Change>Fixed security layer issue for the VME-DB case</Change>
|
<Change>Fixed security layer issue for the VME-DB case</Change>
|
||||||
|
<Change>Fixed bug on just uploaded images from Desktop</Change>
|
||||||
</Changeset>
|
</Changeset>
|
||||||
<Changeset component="org.gcube.portlets-user.report-generator-portlet.4-10-0"
|
<Changeset component="org.gcube.portlets-user.report-generator-portlet.4-10-0"
|
||||||
date="2014-07-01">
|
date="2014-07-01">
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -125,7 +125,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.application.rsg</groupId>
|
<groupId>org.gcube.application.rsg</groupId>
|
||||||
<artifactId>reports-store-gateway-client</artifactId>
|
<artifactId>reports-store-gateway-client</artifactId>
|
||||||
<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
<version>[1.0.2-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<artifactId>el-api</artifactId>
|
<artifactId>el-api</artifactId>
|
||||||
|
|
|
@ -526,9 +526,15 @@ public class ReportServiceImpl extends RemoteServiceServlet implements ReportSe
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
protected String buildImageServiceUrl(String id) {
|
protected String buildImageServiceUrl(String id) {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
|
|
||||||
|
sb.append(this.getServletContext().getContextPath()).append("/");
|
||||||
sb.append(IMAGE_SERVICE_URL).append("?id=").append(id).append("&type=IMAGE");
|
sb.append(IMAGE_SERVICE_URL).append("?id=").append(id).append("&type=IMAGE");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue