[
https://issues.jboss.org/browse/ISPN-7228?page=com.atlassian.jira.plugin....
]
Vladimir Blagojevic commented on ISPN-7228:
-------------------------------------------
[~anistor] It all looks good, I've tried it myself using CLI but we have a problem :-(
Specifying a protocol schema with invalid syntactical content fails altogether and thus
never registers schema. In CLI execute:
{code}
cd /host=master/server=server-one/subsystem=datagrid-infinispan/cache-container=clustered
:register-proto-schemas(file-names=[test.proto],file-contents="asdasda")
:get-proto-schema-errors(file-name=test.proto)
{code}
And you will experience this issue yourself. What next?
Administration console - creating wrong schema doesn't show error
message
-------------------------------------------------------------------------
Key: ISPN-7228
URL:
https://issues.jboss.org/browse/ISPN-7228
Project: Infinispan
Issue Type: Bug
Components: JMX, reporting and management
Affects Versions: 9.0.0.Alpha4
Reporter: Roman Macor
Assignee: Vladimir Blagojevic
Priority: Minor
Attachments: ISPN-7228.txt
Click on cache container -> Configuration -> Schemas -> Add -> Fill in
incorrect scheme: (schema name: wrong_schema, Schema: nonsense)
Result: The dialog is closed and no schema is created.
Expected message:
Error There has been an error executing the operation: DGISPN0118: Failed to invoke
operation: org.infinispan.protostream.DescriptorParserException:
java.lang.IllegalStateException: Syntax error in nonsense.proto at 1:9: unexpected label:
nonsense
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)