@@ -44,8 +44,8 @@ qx.Class.define("osparc.data.model.Study", {
4444
4545 this . set ( {
4646 uuid : studyData . uuid || this . getUuid ( ) ,
47- workspaceId : studyData . workspaceId || null ,
48- folderId : studyData . folderId || null ,
47+ workspaceId : studyData . workspaceId || this . getWorkspaceId ( ) ,
48+ folderId : studyData . folderId || this . getFolderId ( ) ,
4949 name : studyData . name || this . getName ( ) ,
5050 description : studyData . description || this . getDescription ( ) ,
5151 thumbnail : studyData . thumbnail || this . getThumbnail ( ) ,
@@ -60,9 +60,9 @@ qx.Class.define("osparc.data.model.Study", {
6060 permalink : studyData . permalink || this . getPermalink ( ) ,
6161 dev : studyData . dev || this . getDev ( ) ,
6262 trashedAt : studyData . trashedAt ? new Date ( studyData . trashedAt ) : this . getTrashedAt ( ) ,
63- trashedBy : studyData . trashedBy || null ,
64- type : studyData . type ,
65- templateType : studyData . templateType ,
63+ trashedBy : studyData . trashedBy || this . getTrashedBy ( ) ,
64+ type : studyData . type || this . getType ( ) ,
65+ templateType : studyData . templateType || this . getTemplateType ( ) ,
6666 } ) ;
6767
6868 const wbData = studyData . workbench || this . getWorkbench ( ) ;
0 commit comments