diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java index d3ad1e8..d68287d 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java @@ -1396,7 +1396,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements } Column timeColumn = timeTable .getColumnByName(periodTypeMetadata.getType() - .name()); + .getName()); relData = new RelationshipData(timeTable.getId() .getValue(), timeColumn.getLocalId().getValue()); @@ -1435,7 +1435,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements } Column timeColumn = timeTable .getColumnByName(periodTypeMetadata.getType() - .name()); + .getName()); String sourceTableDimensionColumnId = viewMetadata .getSourceTableDimensionColumnId().getValue();