Commit d15fb613 authored by Akshat  Joshi's avatar Akshat Joshi
Browse files

enable the Published mode for System schema

parent e46d636a
Pipeline #112545 failed with stages
in 8 seconds
......@@ -210,7 +210,7 @@ public class SchemaService implements ISchemaService {
schemaInfo = this.getSchemaInfo(createdSchemaId, isSystemSchema);
} catch (NotFoundException e) {
if (!SchemaStatus.DEVELOPMENT.equals(schemaRequest.getSchemaInfo().getStatus()))
if (!SchemaStatus.DEVELOPMENT.equals(schemaRequest.getSchemaInfo().getStatus()) && !isSystemSchema)
throw new BadRequestException(SchemaConstants.SCHEMA_PUT_CREATE_EXCEPTION);
throw new NoSchemaFoundException(SchemaConstants.INVALID_SCHEMA_UPDATE);
Supports Markdown
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