Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public ProjectModel create(PropertyMap properties, final UserExecutionContext co

// Create new draft ProjectModel
ProjectModel pM = new ProjectModel();
String pMName = (String) properties.get(AdminUtil.PROP_PM_NAME);
String pMName = ((String) properties.get(AdminUtil.PROP_PM_NAME)).replaceAll("[\\[\\]]","");
ProjectModelType pMUse = (ProjectModelType) properties.get(AdminUtil.PROP_PM_USE);

pM.setName(pMName);
Expand Down Expand Up @@ -247,7 +247,7 @@ public ProjectModel update(final Integer entityId, final PropertyMap changes, fi
}

if (changes.get(AdminUtil.PROP_PM_NAME) != null) {
model.setName((String) changes.get(AdminUtil.PROP_PM_NAME));
model.setName(((String) changes.get(AdminUtil.PROP_PM_NAME)).replaceAll("[\\[\\]]",""));
}
if (changes.get(AdminUtil.PROP_PM_STATUS) != null) {
final ProjectModelStatus newStatus = changes.get(AdminUtil.PROP_PM_STATUS);
Expand Down