Casting to String, in order to avoid GWT serialization issue, see
#24537#note-9 and #24432
This commit is contained in:
parent
955d670ce4
commit
62ce92b371
|
@ -527,8 +527,8 @@ public class ConvertToDataValueObjectModel {
|
||||||
project.getProfileVersion() != null ? project.getProfileVersion().getValue() : "");
|
project.getProfileVersion() != null ? project.getProfileVersion().getValue() : "");
|
||||||
theProject.setVersion(project.getVersion() != null ? project.getVersion().getValue() : "");
|
theProject.setVersion(project.getVersion() != null ? project.getVersion().getValue() : "");
|
||||||
|
|
||||||
theProject.setTheDocument(toGenericDocumentDV(project.getId(), project.getTheDocument(), DocumentDV.class,
|
|
||||||
projectReader.getListDocumentKeys(), projectReader.isIncludeFullDocumentMap()));
|
theProject.setTheDocument(toGenericDocumentDV(project.getId(), project.getTheDocument(), DocumentDV.class, projectReader.getListDocumentKeys(), projectReader.isIncludeFullDocumentMap()));
|
||||||
|
|
||||||
List<Relationship> relations = project.getRelationships();
|
List<Relationship> relations = project.getRelationships();
|
||||||
|
|
||||||
|
@ -1004,7 +1004,10 @@ public class ConvertToDataValueObjectModel {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
documentAsMap.put(key, value);
|
//Casting to String, in order to avoid GWT serialization issue, see #24537#note-9 and #24432
|
||||||
|
String valueString = value!=null?value+"":null;
|
||||||
|
|
||||||
|
documentAsMap.put(key, valueString);
|
||||||
return documentAsMap;
|
return documentAsMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue