Commit 39455953 by Jason Song Committed by GitHub

Merge pull request #318 from lepdou/bugfix0708

bugfix when create app namespace jump to permission page
parents 58fcb8ad 9ca5e2d8
......@@ -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