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:
parent
d9c70845b1
commit
b32fa42389
|
@ -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
|
||||
/*
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue