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 44c61e1..c360a26 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 @@ -2308,9 +2308,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements operationDefinition = getOperationDescriptorWithId( OperationsId.ChangeToMeasureColumn.toString(), capabilities); - map.put(Constants.PARAMETER_DATA_TYPE, ColumnDataTypeMap - .map(changeColumnTypeSession.getColumnDataType())); - map.put(Constants.PARAMETER_DATA_TYPE_TARGET, ColumnDataTypeMap + map.put(Constants.PARAMETER_TARGET_DATA_TYPE, ColumnDataTypeMap .map(changeColumnTypeSession.getColumnDataTypeTarget())); invocation = new OperationExecution(changeColumnTypeSession .getColumnData().getColumnId(), @@ -2322,7 +2320,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements OperationsId.ChangeToAttributeColumn.toString(), capabilities); - map.put(Constants.PARAMETER_DATA_TYPE_TARGET, ColumnDataTypeMap + map.put(Constants.PARAMETER_TARGET_DATA_TYPE, ColumnDataTypeMap .map(changeColumnTypeSession.getColumnDataTypeTarget())); invocation = new OperationExecution(changeColumnTypeSession .getColumnData().getColumnId(), diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/Constants.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/Constants.java index 0d5bfaa..b95a727 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/Constants.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/Constants.java @@ -28,7 +28,7 @@ public class Constants { public static final String PARAMETER_VERSION ="version"; public static final String PARAMETER_DATA_TYPE="dataType"; - public static final String PARAMETER_DATA_TYPE_TARGET="dataTypeTarget"; + public static final String PARAMETER_TARGET_DATA_TYPE="targetDataType";