diff --git a/designer-base/src/com/fr/design/env/DesignerWorkspaceInfo.java b/designer-base/src/com/fr/design/env/DesignerWorkspaceInfo.java index 75a2dfab02..b13d810416 100644 --- a/designer-base/src/com/fr/design/env/DesignerWorkspaceInfo.java +++ b/designer-base/src/com/fr/design/env/DesignerWorkspaceInfo.java @@ -79,7 +79,7 @@ public class DesignerWorkspaceInfo implements XMLable { if (reader.isAttr()) { this.name = reader.getAttrAsString("name", StringUtils.EMPTY); - this.type = DesignerWorkspaceType.valueOf(reader.getAttrAsString("name", "Local")); + this.type = DesignerWorkspaceType.valueOf(reader.getAttrAsString("type", "Local")); this.path = reader.getAttrAsString("path", StringUtils.EMPTY); } if (reader.isChildNode()) {