[JBoss JIRA] (ISPN-9350) Un-hardcode parser schema from tests
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-9350?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-9350:
----------------------------------
Status: Open (was: New)
> Un-hardcode parser schema from tests
> ------------------------------------
>
> Key: ISPN-9350
> URL: https://issues.jboss.org/browse/ISPN-9350
> Project: Infinispan
> Issue Type: Enhancement
> Components: Configuration, Test Suite - Core, Test Suite - Server
> Affects Versions: 9.3.0.Final
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Fix For: 9.4.0.Alpha1
>
>
> Many parser tests hardcode the schemas. This makes upgrading the schema versions cumbersome as it needs code changes.
> Additionally, the server extensions also hardcode the versions. We should introduce something similar to ISPN-8952 to make the parsers dynamic
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
5 years, 10 months
[JBoss JIRA] (ISPN-9350) Un-hardcode parser schema from tests
by Tristan Tarrant (JIRA)
Tristan Tarrant created ISPN-9350:
-------------------------------------
Summary: Un-hardcode parser schema from tests
Key: ISPN-9350
URL: https://issues.jboss.org/browse/ISPN-9350
Project: Infinispan
Issue Type: Enhancement
Components: Configuration, Test Suite - Core, Test Suite - Server
Affects Versions: 9.3.0.Final
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 9.4.0.Alpha1
Many parser tests hardcode the schemas. This makes upgrading the schema versions cumbersome as it needs code changes.
Additionally, the server extensions also hardcode the versions. We should introduce something similar to ISPN-8952 to make the parsers dynamic
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
5 years, 10 months
[JBoss JIRA] (ISPN-9349) XSD web view expansion/collapsing doesn't work
by Tristan Tarrant (JIRA)
Tristan Tarrant created ISPN-9349:
-------------------------------------
Summary: XSD web view expansion/collapsing doesn't work
Key: ISPN-9349
URL: https://issues.jboss.org/browse/ISPN-9349
Project: Infinispan
Issue Type: Bug
Components: Documentation-Core
Affects Versions: 9.3.0.Final
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 9.4.0.Alpha1, 9.3.1.Final
The link to the jquery library is broken.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
5 years, 10 months
[JBoss JIRA] (IPROTO-63) writeObject throws IllegalArgumentException with oneof label
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/IPROTO-63?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated IPROTO-63:
--------------------------------
Status: Open (was: New)
> writeObject throws IllegalArgumentException with oneof label
> ------------------------------------------------------------
>
> Key: IPROTO-63
> URL: https://issues.jboss.org/browse/IPROTO-63
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Reporter: Ryan Emerson
>
> The below schema results in the following exception:
> Schema:
> {code:java}
> message EntryVersion {
> oneof version {
> NumericVersion numeric = 1;
> ClusteredVersion clustered = 2;
> }
> // optional NumericVersion numeric = 1;
> // optional ClusteredVersion clustered = 2;
> }
> message NumericVersion {
> required int64 version = 1;
> }
> message ClusteredVersion {
> required int64 version = 1;
> required int32 topology = 2;
> }
> {code}
> Exception:
> {code:java}
> java.lang.IllegalArgumentException: Declared field type is not a message or an enum : numeric
> {code}
> It seems this is caused because the type for the field "numeric" is null in the associated FieldDescriptor object that is retrieved in the [writeObject impl|https://github.com/infinispan/protostream/blob/master/core/src/main/...].
> If the oneof label is replaced with the commented optional fields, the marshallers work as expected.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
5 years, 10 months
[JBoss JIRA] (IPROTO-63) writeObject throws IllegalArgumentException with oneof label
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/IPROTO-63?page=com.atlassian.jira.plugin.... ]
Adrian Nistor reassigned IPROTO-63:
-----------------------------------
Assignee: Adrian Nistor
> writeObject throws IllegalArgumentException with oneof label
> ------------------------------------------------------------
>
> Key: IPROTO-63
> URL: https://issues.jboss.org/browse/IPROTO-63
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Reporter: Ryan Emerson
> Assignee: Adrian Nistor
>
> The below schema results in the following exception:
> Schema:
> {code:java}
> message EntryVersion {
> oneof version {
> NumericVersion numeric = 1;
> ClusteredVersion clustered = 2;
> }
> // optional NumericVersion numeric = 1;
> // optional ClusteredVersion clustered = 2;
> }
> message NumericVersion {
> required int64 version = 1;
> }
> message ClusteredVersion {
> required int64 version = 1;
> required int32 topology = 2;
> }
> {code}
> Exception:
> {code:java}
> java.lang.IllegalArgumentException: Declared field type is not a message or an enum : numeric
> {code}
> It seems this is caused because the type for the field "numeric" is null in the associated FieldDescriptor object that is retrieved in the [writeObject impl|https://github.com/infinispan/protostream/blob/master/core/src/main/...].
> If the oneof label is replaced with the commented optional fields, the marshallers work as expected.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
5 years, 10 months
[JBoss JIRA] (IPROTO-63) writeObject throws IllegalArgumentException with oneof label
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/IPROTO-63?page=com.atlassian.jira.plugin.... ]
Work on IPROTO-63 started by Adrian Nistor.
-------------------------------------------
> writeObject throws IllegalArgumentException with oneof label
> ------------------------------------------------------------
>
> Key: IPROTO-63
> URL: https://issues.jboss.org/browse/IPROTO-63
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Reporter: Ryan Emerson
> Assignee: Adrian Nistor
>
> The below schema results in the following exception:
> Schema:
> {code:java}
> message EntryVersion {
> oneof version {
> NumericVersion numeric = 1;
> ClusteredVersion clustered = 2;
> }
> // optional NumericVersion numeric = 1;
> // optional ClusteredVersion clustered = 2;
> }
> message NumericVersion {
> required int64 version = 1;
> }
> message ClusteredVersion {
> required int64 version = 1;
> required int32 topology = 2;
> }
> {code}
> Exception:
> {code:java}
> java.lang.IllegalArgumentException: Declared field type is not a message or an enum : numeric
> {code}
> It seems this is caused because the type for the field "numeric" is null in the associated FieldDescriptor object that is retrieved in the [writeObject impl|https://github.com/infinispan/protostream/blob/master/core/src/main/...].
> If the oneof label is replaced with the commented optional fields, the marshallers work as expected.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
5 years, 10 months