[infinispan-issues] [JBoss JIRA] (ISPN-7228) Administration console - creating wrong schema doesn't show error message

Vladimir Blagojevic (JIRA) issues at jboss.org
Thu Jan 26 08:43:00 EST 2017


    [ https://issues.jboss.org/browse/ISPN-7228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13353921#comment-13353921 ] 

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)


More information about the infinispan-issues mailing list