Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@98363 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-07-03 12:34:08 +00:00
parent 81f9d05e8d
commit 22b62fd345
3 changed files with 8 additions and 9 deletions

View File

@ -6651,14 +6651,8 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
throw new TDGWTServiceException(
"Error in invocation: Operation not supported");
}
Long id;
if (editRowSession.getTrId().isViewTable()) {
id = Long.valueOf(editRowSession.getTrId()
.getReferenceTargetTableId());
} else {
id = Long.valueOf(editRowSession.getTrId().getId());
}
Long id = Long.valueOf(editRowSession.getTrId().getId());
TabularResourceId serviceTR = new TabularResourceId(id);
logger.debug("OperationInvocation: \n" + invocation.toString());
Task trTask = service.execute(invocation, serviceTR);

View File

@ -55,7 +55,9 @@ public class OpExecution4AddColumn extends OpExecutionBuilder {
DefNewColumn defNewColumn = addColumnSession.getColumn();
ColumnTypeCode type = defNewColumn.getColumnType();
switch (type) {
case ANNOTATION:
map.put(Constants.PARAMETER_ADD_COLUMN_COLUMN_TYPE,

View File

@ -110,6 +110,9 @@ public class TDTypeValueMap {
tdTypeValue = new TDNumeric(fl);
break;
case Text:
if(value==null){
value="";
}
tdTypeValue = new TDText(value);
break;
default: