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:
parent
81f9d05e8d
commit
22b62fd345
|
@ -6651,13 +6651,7 @@ 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());
|
||||
|
|
|
@ -56,6 +56,8 @@ public class OpExecution4AddColumn extends OpExecutionBuilder {
|
|||
|
||||
ColumnTypeCode type = defNewColumn.getColumnType();
|
||||
|
||||
|
||||
|
||||
switch (type) {
|
||||
case ANNOTATION:
|
||||
map.put(Constants.PARAMETER_ADD_COLUMN_COLUMN_TYPE,
|
||||
|
|
|
@ -110,6 +110,9 @@ public class TDTypeValueMap {
|
|||
tdTypeValue = new TDNumeric(fl);
|
||||
break;
|
||||
case Text:
|
||||
if(value==null){
|
||||
value="";
|
||||
}
|
||||
tdTypeValue = new TDText(value);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue