Fixed Replace Batch for view column

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@101647 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-11-19 11:22:33 +00:00
parent d9c70845b1
commit b32fa42389
2 changed files with 4 additions and 1 deletions

View File

@ -83,7 +83,7 @@ public class SessionUtil {
ASLSession session;
if (username == null) {
logger.warn("no user found in session, using test one");
throw new TDGWTSessionExpiredException("Session Expired!");
throw new TDGWTSessionExpiredException("Session Expired!");
// Remove comment for Test
/*

View File

@ -73,6 +73,9 @@ public class QueryService {
if (conditionCode == null) {
logger.debug("Replace Batch no validations");
if (column.isViewColumn()) {
//Use View for Occurrence
tableId = new TableId(new Long(column.getTrId().getTableId()));
ColumnLocalId sourceColumnId = new ColumnLocalId(column
.getColumnViewData()
.getSourceTableDimensionColumnId());