[JBoss JIRA] (ISPN-10166) Unnecessary String wrapping when converting to JSON
by Galder Zamarreño (Jira)
[ https://issues.jboss.org/browse/ISPN-10166?page=com.atlassian.jira.plugin... ]
Galder Zamarreño updated ISPN-10166:
------------------------------------
Affects Version/s: 10.0.0.Beta3
> Unnecessary String wrapping when converting to JSON
> ---------------------------------------------------
>
> Key: ISPN-10166
> URL: https://issues.jboss.org/browse/ISPN-10166
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.4.12.Final, 10.0.0.Beta3
> Reporter: Galder Zamarreño
> Assignee: Gustavo Fernandes
> Priority: Major
>
> A client that requests data in JSON format, does not always get data in JSON format.
> When using listener converters, such as "key-value-with-previous-converter-factory", the server must construct an instance of KeyValueWithPrevious in JSON format, but the resulting output looks like this:
> {code}
> { _type : 'org.infinispan.commons.util.KeyValueWithPrevious', key : '{"k":"jlisten-modify"}', value : '{"v":"jv1"}', prev : '{"v":"jv0"}' }
> {code}
> The problem here is that key/value/prev are wrapped in '' which makes them String. This wrapping should not be done.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 2 months
[JBoss JIRA] (ISPN-10166) Unnecessary String wrapping when converting to JSON
by Galder Zamarreño (Jira)
[ https://issues.jboss.org/browse/ISPN-10166?page=com.atlassian.jira.plugin... ]
Galder Zamarreño commented on ISPN-10166:
-----------------------------------------
For reference, the JSON above should look like:
{code}
{ _type : 'org.infinispan.commons.util.KeyValueWithPrevious', key : {"k":"jlisten-modify"}, value : {"v":"jv1"}, prev : {"v":"jv0"} }
{code}
> Unnecessary String wrapping when converting to JSON
> ---------------------------------------------------
>
> Key: ISPN-10166
> URL: https://issues.jboss.org/browse/ISPN-10166
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.4.12.Final
> Reporter: Galder Zamarreño
> Assignee: Gustavo Fernandes
> Priority: Major
>
> A client that requests data in JSON format, does not always get data in JSON format.
> When using listener converters, such as "key-value-with-previous-converter-factory", the server must construct an instance of KeyValueWithPrevious in JSON format, but the resulting output looks like this:
> {code}
> { _type : 'org.infinispan.commons.util.KeyValueWithPrevious', key : '{"k":"jlisten-modify"}', value : '{"v":"jv1"}', prev : '{"v":"jv0"}' }
> {code}
> The problem here is that key/value/prev are wrapped in '' which makes them String. This wrapping should not be done.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 2 months
[JBoss JIRA] (ISPN-10166) Unnecessary String wrapping when converting to JSON
by Galder Zamarreño (Jira)
Galder Zamarreño created ISPN-10166:
---------------------------------------
Summary: Unnecessary String wrapping when converting to JSON
Key: ISPN-10166
URL: https://issues.jboss.org/browse/ISPN-10166
Project: Infinispan
Issue Type: Bug
Affects Versions: 9.4.12.Final
Reporter: Galder Zamarreño
Assignee: Gustavo Fernandes
A client that requests data in JSON format, does not always get data in JSON format.
When using listener converters, such as "key-value-with-previous-converter-factory", the server must construct an instance of KeyValueWithPrevious in JSON format, but the resulting output looks like this:
{code}
{ _type : 'org.infinispan.commons.util.KeyValueWithPrevious', key : '{"k":"jlisten-modify"}', value : '{"v":"jv1"}', prev : '{"v":"jv0"}' }
{code}
The problem here is that key/value/prev are wrapped in '' which makes them String. This wrapping should not be done.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 2 months
[JBoss JIRA] (ISPN-10165) Fix rolling upgrades tests according to latest changes
by Anna Manukyan (Jira)
Anna Manukyan created ISPN-10165:
------------------------------------
Summary: Fix rolling upgrades tests according to latest changes
Key: ISPN-10165
URL: https://issues.jboss.org/browse/ISPN-10165
Project: Infinispan
Issue Type: Task
Components: Test Suite - Server
Reporter: Anna Manukyan
Currently the rolling upgrades tests are not running properly (as of JDK11 changes were introduced, etc).
Fix the rolling upgrades related testsuite to work properly.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 2 months