Commit 9ca5e2d8 by lepdou

bugfix when create app namespace jump to permission page

parent 58fcb8ad
......@@ -33,8 +33,8 @@ public class AppNamespaceController {
throw new BadRequestException("app namespaces already exist.");
}
if (StringUtils.isEmpty(appNamespace.getFormat())){
appNamespace.setFormat(ConfigFileFormat.Properties.getValue());
if (StringUtils.isEmpty(entity.getFormat())){
entity.setFormat(ConfigFileFormat.Properties.getValue());
}
entity = appNamespaceService.createAppNamespace(entity);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment